From b8a5521430e10e5a0599cf9f4273c1ddeafdd2f7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 15 Aug 2023 09:09:59 -0400 Subject: [PATCH] No need to box this int. --- src/engine/net/client/msg/ManageNPCMsg.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/msg/ManageNPCMsg.java b/src/engine/net/client/msg/ManageNPCMsg.java index dfe28a5a..a0eb76db 100644 --- a/src/engine/net/client/msg/ManageNPCMsg.java +++ b/src/engine/net/client/msg/ManageNPCMsg.java @@ -415,7 +415,7 @@ public class ManageNPCMsg extends ClientNetMsg { //Begin Item list for creation. writer.putInt(rollableSet.size()); - for (Integer ib : rollableSet) { + for (int ib : rollableSet) { ItemBase item = ItemBase.getItemBase(ib); writer.put((byte) 1); writer.putInt(0);