mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-09 22:38:04 +02:00
Remove forgotten debug
Oops
This commit is contained in:
parent
5b545d96e9
commit
b20a0d4b4b
@ -283,12 +283,9 @@ public class EventListen implements Listener {
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Messaging.send(Bukkit.getConsoleSender(), "TEST ENTITIES");
|
||||
Player player = event.getPlayer();
|
||||
for (Entity entity : player.getNearbyEntities(72, 72, 72)) {
|
||||
Messaging.send(Bukkit.getConsoleSender(), "TEST ENTITY");
|
||||
if (entity instanceof Player && npcRegistry.isNPC(entity)) {
|
||||
Messaging.send(Bukkit.getConsoleSender(), "YUP");
|
||||
final EntityPlayer entityplayer = ((CraftPlayer) player).getHandle();
|
||||
final EntityPlayer entitynpc = ((CraftPlayer) entity).getHandle();
|
||||
entityplayer.playerConnection.sendPacket(new PacketPlayOutPlayerInfo(
|
||||
|
Loading…
Reference in New Issue
Block a user