Just incase, though it shouldn't be

This commit is contained in:
libraryaddict 2023-06-26 14:47:23 +12:00
parent f0c28d45a7
commit e574facf71

View File

@ -72,7 +72,7 @@ public class PacketListenerEntityDestroy extends PacketAdapter {
private void handleEntityId(Player player, int entityId) {
int[] toRemove = getToRemove(player, entityId);
if (toRemove == null) {
if (toRemove == null || toRemove.length == 0) {
return;
}