net.minecraft.entity.player.InventoryPlayer#armorItemInSlot is annotated @SideOnly(Side.CLIENT) and cannot be called from a server context. This leads to:
05.01 06:26:29 [Server] Server thread/ERROR [FML]: Exception caught during firing event net.minecraftforge.event.entity.living.LivingEvent$LivingUpdateEvent@62ca2e07:
05.01 06:26:29 [Server] INFO java.lang.NoSuchMethodError: net.minecraft.entity.player.InventoryPlayer.func_70440_f(I)Lnet/minecraft/item/ItemStack;
05.01 06:26:29 [Server] INFO at net.shadowfacts.underwaterutilities.event.EventHandler.onLivingUpdate(EventHandler.kt:20) ~[EventHandler.class:?]
https://github.com/shadowfacts/UnderwaterUtilities/blob/1.11/src/main/kotlin/net/shadowfacts/underwaterutilities/event/EventHandler.kt#L20 https://github.com/shadowfacts/UnderwaterUtilities/blob/1.11/src/main/kotlin/net/shadowfacts/underwaterutilities/event/EventHandler.kt#L34
net.minecraft.entity.player.InventoryPlayer#armorItemInSlot
is annotated@SideOnly(Side.CLIENT)
and cannot be called from a server context. This leads to:http://pastebin.com/GZTKQ7Ui