java.lang.NullPointerException: Ticking memory connection at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217) at moze_intel.projecte.emc.SimpleStack.<init>(SimpleStack.java:29) at moze_intel.projecte.utils.EMCHelper.doesItemHaveEmc(EMCHelper.java:118) at moze_intel.projecte.gameObjs.items.MercurialEye.func_77659_a(MercurialEye.java:168) at net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:146) at net.minecraft.server.management.ItemInWorldManager.func_73085_a(ItemInWorldManager.java:316) at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:539) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9) at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------

-- Head --Stacktrace: at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217) at moze_intel.projecte.emc.SimpleStack.<init>(SimpleStack.java:29) at moze_intel.projecte.utils.EMCHelper.doesItemHaveEmc(EMCHelper.java:118) at moze_intel.projecte.gameObjs.items.MercurialEye.func_77659_a(MercurialEye.java:168) at net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:146) at net.minecraft.server.management.ItemInWorldManager.func_73085_a(ItemInWorldManager.java:316) at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:539) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9) at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)

-- Ticking connection --Details: Connection: net.minecraft.network.NetworkManager@7efafc55Stacktrace: at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)