We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dda8c8 commit dbedab0Copy full SHA for dbedab0
src/main/java/com/comphenix/protocol/wrappers/BukkitConverters.java
@@ -717,7 +717,7 @@ public Entity getSpecific(Object generic) {
717
ProtocolManager manager = managerRef.get();
718
719
// Use the entity ID to get a reference to the entity
720
- if (id != null && manager != null) {
+ if (id != null && id >= 0 && manager != null) {
721
return manager.getEntityFromID(world, id);
722
} else {
723
return null;
0 commit comments