Browse Source

Update to resources message

postwipe-mines
MagicBot 7 months ago
parent
commit
cdc4717033
  1. 2
      src/engine/net/client/msg/ViewResourcesMsg.java

2
src/engine/net/client/msg/ViewResourcesMsg.java

@ -107,7 +107,7 @@ public class ViewResourcesMsg extends ClientNetMsg {
for (mbEnums.ResourceType resourceType : warehouseObject.resources.keySet()) { for (mbEnums.ResourceType resourceType : warehouseObject.resources.keySet()) {
writer.putInt(resourceType.resourceHash); writer.putInt(resourceType.templateHash);
writer.putInt(0); //available? writer.putInt(0); //available?
writer.putInt(resourceType.deposit_limit); //max? writer.putInt(resourceType.deposit_limit); //max?
} }

Loading…
Cancel
Save