Quark

Quark

143M Downloads

Crash when trying to get items from a chest

vico93 opened this issue ยท 4 comments

commented

Log: https://paste.dimdev.org/nozesufapi.mccrash

I get a chest with loot table (command /give @s minecraft:chest 1 0 {BlockEntityTag:{LootTable:"minecraft:chests/abandoned_mineshaft"}}), place on the ground and opened. When i tried to get torches from that the crash happened.

commented

It appears that minecraft doesn't like accessing an uninitialized chest on the clientside. This error is occurring because the loot tables don't exist clientside, and so they NPE.

This line: https://github.com/Vazkii/Quark/blob/c09dab8115888e4c11f852a4257081e18636105f/src/main/java/vazkii/quark/management/capability/ShulkerBoxDropIn.java#L44

must not be run on a client if the loot table != null.

commented

This bug, as it turns out, is in ARL. Fun times.

commented

ARL? sorry dont remember what this means

Nevermind, but if you will not fix should i file an issue in AutoRegLib side?

commented