diff --git a/src/main/java/cr0s/warpdrive/event/ClientHandler.java b/src/main/java/cr0s/warpdrive/event/ClientHandler.java index 3cd22146..f73a9612 100644 --- a/src/main/java/cr0s/warpdrive/event/ClientHandler.java +++ b/src/main/java/cr0s/warpdrive/event/ClientHandler.java @@ -15,7 +15,7 @@ public class ClientHandler { @SubscribeEvent(priority = EventPriority.HIGHEST) public void onTooltipEvent(ItemTooltipEvent event) { - if (!event.entityPlayer.capabilities.isCreativeMode) { + if (event.entityPlayer == null || !event.entityPlayer.capabilities.isCreativeMode) { return; } if (WarpDrive.isDev) {// disabled in production