fix incorrectly changed method after mapping update
@@ -69,7 +69,7 @@ public class ItemCameraMonitor extends Item {
if(playerIn.getRidingEntity() != null && playerIn.getRidingEntity() instanceof EntitySecurityCamera)
return EnumActionResult.SUCCESS;
- if(!stack.hasTagCompound()) {
+ if(stack.getTagCompound() == null || stack.getTagCompound().isEmpty()) {
PlayerUtils.sendMessageToPlayer(playerIn, ClientUtils.localize("item.securitycraft:cameraMonitor.name"), ClientUtils.localize("messages.securitycraft:cameraMonitor.rightclickToView"), TextFormatting.RED);
return EnumActionResult.SUCCESS;
}
