diff --git a/src/main/java/zmaster587/libVulpes/items/ItemProjector.java b/src/main/java/zmaster587/libVulpes/items/ItemProjector.java index cb8da34b..7995e1f9 100644 --- a/src/main/java/zmaster587/libVulpes/items/ItemProjector.java +++ b/src/main/java/zmaster587/libVulpes/items/ItemProjector.java @@ -383,7 +383,7 @@ private void setMachineId(ItemStack stack, int id) { } private int getMachineId(ItemStack stack) { - if(stack.hasTag()) { + if(stack.hasTag() && stack.getTag().contains(IDNAME)) { return stack.getTag().getInt(IDNAME); } else