Fix Scripted Items re-evaluating Scripts

This commit is contained in:
Kam committed 2025-02-09 01:09:23 -05:00
1 parent 8a270b1548
commit 4202cb7271
2 files changed
+56 -29

No files matched your search

@@ -120,6 +120,9 @@ public class PacketUtil {
}
private static boolean isValidItemForType(ItemStack item, EnumItemPacketType type) {
if(item == null || item.getItem() == null)
return false;
switch (type) {
case WAND:
return item.getItem() == CustomItems.wand;