mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-29 07:37:46 +02:00
Remove obselete code
This commit is contained in:
parent
af92058273
commit
0371c5245b
@ -306,16 +306,6 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
/*try {
|
||||
packets[5] = PacketPlayOutPlayerInfo.class.getConstructor(String.class,boolean.class,int.class).newInstance(getBukkitEntity().getPlayerListName(),!removeFromPlayerList,removeFromPlayerList ? 9999 : ping);
|
||||
} catch (Exception e1) {
|
||||
System.out.print("Citizens: Unable to toggle player list :"+e1.getMessage());
|
||||
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
NMS.sendPacketsNearby(getBukkitEntity(), current, packets);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user