diff --git a/src/engine/net/client/msg/RefinerScreenMsg.java b/src/engine/net/client/msg/RefinerScreenMsg.java index 54f5e8e3..4d492f0b 100644 --- a/src/engine/net/client/msg/RefinerScreenMsg.java +++ b/src/engine/net/client/msg/RefinerScreenMsg.java @@ -95,7 +95,7 @@ public class RefinerScreenMsg extends ClientNetMsg { return this.unknown02; } - public void setUnknown02(int value) { + public void setUnknown02(float value) { this.unknown02 = value; } diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index b7282b94..829b9c90 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -146,7 +146,7 @@ public class WorldServer { NPC npc = NPC.getFromCache(msg.getNpcID()); if (npc != null) - msg.setUnknown02(0); //cost to refine? + msg.setUnknown02(npc.sellPercent); //cost to refine? Dispatch dispatch = Dispatch.borrow(origin.getPlayerCharacter(), msg); DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY);