Diamond Spikes from Kibe Utilities causing crash in claimed chunk
SCPRedMage opened this issue ยท 1 comments
Minecraft 1.19.2 with Fabric 0.14.21
Kibe Utilities 1.9.11-BETA
Server is crashing when a mob is damaged by diamond spikes in a claimed chunk.
It appears the problem is that hasChunkAccess() in ChunkProtection.java checks if accessor is an instance of Player, but then tries to cast it as ServerPlayer.
This can be fixed by changing line 449 to:
boolean isAPlayer = accessor instanceof ServerPlayer;