Playing Cards

Playing Cards

22.7k Downloads

[Bug] Poker_table damage placed by non-players will cause the server to crash

lengzu opened this issue · 0 comments

commented

[BUG]Poker_table placed by a non-player will cause a crash.
My player uses the create module to place the box so that the box NBT is empty and cannot destroy the Poker_table, no matter how it cannot be destroyed, it will cause the server to crash.

java.lang.NullPointerException: Cannot invoke "java.util.UUID.getMostSignificantBits()" because "☃" is null
at net.minecraft.util.UUIDCodec.func_239777_a_(SourceFile:27) ~[?:?] {re:classloading}
at net.minecraft.nbt.NBTUtil.func_240626_a_(SourceFile:163) ~[?:?] {re:classloading}
at net.minecraft.nbt.CompoundNBT.func_186854_a(CompoundNBT.java:129) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at com.tm.playingcards.tileentity.TileEntityPokerTable.func_189515_b(TileEntityPokerTable.java:46) ~[playingcards:1.0.1] {re:classloading}
at com.tm.playingcards.tileentity.base.TileEntityBase.func_189518_D_(TileEntityBase.java:49) ~[playingcards:1.0.1] {re:classloading}

Hope to provide the latest build source code I can fix it myself.