From cdc4717033cbe95c946eda03d502f1d2d9cce667 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 11 Jun 2024 12:54:57 -0400 Subject: [PATCH] Update to resources message --- src/engine/net/client/msg/ViewResourcesMsg.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/msg/ViewResourcesMsg.java b/src/engine/net/client/msg/ViewResourcesMsg.java index 39d6c6f1..7506841f 100644 --- a/src/engine/net/client/msg/ViewResourcesMsg.java +++ b/src/engine/net/client/msg/ViewResourcesMsg.java @@ -107,7 +107,7 @@ public class ViewResourcesMsg extends ClientNetMsg { for (mbEnums.ResourceType resourceType : warehouseObject.resources.keySet()) { - writer.putInt(resourceType.resourceHash); + writer.putInt(resourceType.templateHash); writer.putInt(0); //available? writer.putInt(resourceType.deposit_limit); //max? }