Patbox / UniversalGraves

Grave mod for Fabric!
GNU Lesser General Public License v3.0
55 stars 25 forks source link

Server Crash with Description: Exception in server tick loop Fabric 1.20.6 #149

Closed Tiegertosch closed 6 months ago

Tiegertosch commented 6 months ago
Description: Exception in server tick loop

java.lang.IllegalStateException: Cannot encode empty ItemStack
    at net.minecraft.class_1799.method_57358(class_1799.java:393)
    at eu.pb4.graves.grave.PositionedItemStack.toNbt(PositionedItemStack.java:28)
    at eu.pb4.graves.grave.Grave.writeNbt(Grave.java:169)
    at eu.pb4.graves.grave.GraveManager.method_75(GraveManager.java:73)
    at net.minecraft.class_18.method_17919(class_18.java:42)
    at net.minecraft.class_26.method_32384(class_26.java:127)
    at java.base/java.util.HashMap.forEach(HashMap.java:1429)
    at net.minecraft.class_26.method_125(class_26.java:125)
    at net.minecraft.class_3218.method_14188(class_3218.java:832)
    at net.minecraft.class_3218.method_14176(class_3218.java:814)
    at net.minecraft.server.MinecraftServer.method_3723(MinecraftServer.java:550)
    at net.minecraft.server.MinecraftServer.method_39218(MinecraftServer.java:574)
    at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:901)
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:691)
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:275)
    at java.base/java.lang.Thread.run(Thread.java:1583)

crash-2024-05-05_12.40.43-server.txt