Implemented a better synchronisation system for left hand item and projectile item, similar to main hand and armor items system for vanilla

This commit is contained in:
Goodbird committed 2023-12-08 09:47:18 +03:00
1 parent 8aa9d16d8e
commit 21c16e5341
5 files changed
+30 -2

No files matched your search

@@ -436,7 +436,7 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
npc.inventory.setOffHand(null);
else
npc.inventory.setOffHand(item.getMCItemStack());
npc.script.clientNeedsUpdate = true;
//npc.script.clientNeedsUpdate = true;
}
/**