/dank/null

/dank/null

31M Downloads

Crash when breaking blocks and having Dank in inventory

3x1at1on opened this issue ยท 0 comments

commented

Versions

Dank Null version: 1.7.93
Minecraft version: 1.12.2
Forge version: 14.23.5.2847
Modpack: MC Eternal 1.3.5b https://www.curseforge.com/minecraft/modpacks/minecraft-eternal

How to produce

Break any block that is not within the Dank while Dank is in inventory/hotbar .

How I fixed it

Downgrade to Dank version 1.7.91

Crash log

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 2020-04-11 21:58:30 BST
Description: Ticking player

java.lang.RuntimeException: Slot -1 not in valid range - [0,54)
    at p455w0rd.danknull.api.IDankNullHandler.validateSlot(IDankNullHandler.java:277)
    at p455w0rd.danknull.inventory.DankNullHandler.getFullStackInSlot(DankNullHandler.java:82)
    at p455w0rd.danknull.inventory.DankNullHandler.isItemValid(DankNullHandler.java:512)
    at p455w0rd.danknull.inventory.DankNullHandler.insertItem(DankNullHandler.java:106)
    at p455w0rd.danknull.init.ModEvents.onItemPickUp(ModEvents.java:116)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_762_ModEvents_onItemPickUp_EntityItemPickupEvent.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.event.ForgeEventFactory.onItemPickup(ForgeEventFactory.java:513)
    at net.minecraft.entity.item.EntityItem.onCollideWithPlayer(EntityItem.java:396)
    at net.minecraft.entity.player.EntityPlayer.collideWithPlayer(EntityPlayer.java:600)
    at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:571)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2179)
    at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:234)
    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:185)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Thread.java:745)

Detailed log

https://paste.dimdev.org/eqicukageq.makefile