Update EntityLib.java
This commit is contained in:
parent
62fc93c4c9
commit
e7b9e9fff3
1 changed files with 4 additions and 1 deletions
|
@ -329,7 +329,10 @@ public final class EntityLib {
|
|||
checkInit();
|
||||
Object channel = packetEvents.getProtocolManager().getChannel(user);
|
||||
if (channel == null) {
|
||||
System.out.println("EntityLib could not send packet to user " + user);
|
||||
boolean b = Boolean.parseBoolean(System.getenv("entitylib_debug"));
|
||||
if (b) {
|
||||
System.out.println("EntityLib could not send packet to user " + user);
|
||||
}
|
||||
return;
|
||||
}
|
||||
packetEvents.getProtocolManager().sendPacket(channel, wrapper);
|
||||
|
|
Loading…
Reference in a new issue