Classy Hats

Classy Hats

2M Downloads

Server crash with LemonLib

Azmalent opened this issue ยท 0 comments

commented

When LemonLib is installed, I get this crash when loading my world:

Description: Ticking player

java.lang.IllegalArgumentException: Parameter specified as non-null is null: method wiresegal.classyhats.capability.data.ClassyHatProvider.getCapability, parameter capability
    at wiresegal.classyhats.capability.data.ClassyHatProvider.getCapability(ClassyHatProvider.kt)
    at net.minecraftforge.common.capabilities.CapabilityDispatcher.getCapability(CapabilityDispatcher.java:108)
    at net.minecraft.entity.Entity.getCapability(Entity.java:3121)
    at net.minecraft.entity.EntityLivingBase.getCapability(EntityLivingBase.java:2960)
    at net.minecraft.entity.player.EntityPlayer.getCapability(EntityPlayer.java:2682)
    at party.lemons.lemonlib.handler.cooldown.CooldownUtil.getCooldowns(CooldownUtil.java:9)
    at party.lemons.lemonlib.handler.cooldown.CooldownUtil.updateCooldown(CooldownUtil.java:29)
    at party.lemons.lemonlib.handler.cooldown.CapabilityCooldownHandler.onPlayerTick(CapabilityCooldownHandler.java:38)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_978_CapabilityCooldownHandler_onPlayerTick_PlayerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:370)
    at net.minecraft.entity.player.EntityPlayer.updateSize(EntityPlayer.java:378)
    at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:288)
    at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:382)
    at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:173)
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:209)
    at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:285)
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:180)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:790)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:252)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Thread.java:748)