forked from BLOCKFANTASY/LOOHP-Limbo
Bump development to 1.17, Added a few more light emitting blocks, Improved PlayerChatEvent formatting
This commit is contained in:
@@ -77,8 +77,10 @@ public class PlayerInteractManager {
|
||||
ids.add(entity.getEntityId());
|
||||
}
|
||||
}
|
||||
PacketPlayOutEntityDestroy packet = new PacketPlayOutEntityDestroy(ids.stream().mapToInt(each -> each).toArray());
|
||||
player.clientConnection.sendPacket(packet);
|
||||
for (int id : ids) {
|
||||
PacketPlayOutEntityDestroy packet = new PacketPlayOutEntityDestroy(id);
|
||||
player.clientConnection.sendPacket(packet);
|
||||
}
|
||||
|
||||
entities = entitiesInRange;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user