@SubscribeEvent
public void pickup(PlayerInteractEvent event)
{
GuiScreen screen = Minecraft.getMinecraft().currentScreen;
if (screen == null){
mc.thePlayer.addChatComponentMessage(new ChatComponentText("Screen is null :("));
return;
}
Do you know how to code? in the keyhandler file it says Screen Is Null
mc.thePlayer.addChatComponentMessage(new ChatComponentText("Screen is null :("));