mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-13 15:16:50 +01:00
Fix some weirdo error in skript with entity destroy, closes #718
This commit is contained in:
parent
2683887444
commit
f0c28d45a7
@ -39,6 +39,11 @@ public class PacketListenerEntityDestroy extends PacketAdapter {
|
||||
|
||||
List<Integer> entityIds = event.getPacket().getIntLists().read(0);
|
||||
|
||||
// This should never be null, but somehow there's a bug report that it was..
|
||||
if (entityIds == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (int entityId : entityIds) {
|
||||
handleEntityId(event.getPlayer(), entityId);
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package me.libraryaddict.disguise.utilities.reflection;
|
||||
|
||||
public class FakeBoundingBox {
|
||||
|
||||
private final double xMod;
|
||||
private final double yMod;
|
||||
private final double zMod;
|
||||
|
Loading…
Reference in New Issue
Block a user