KillAura check works now, currently uses 1 bot

This commit is contained in:
Rammelkast committed 2016-05-30 19:29:30 +02:00
1 parent 4cc8ec9380
commit fed95f8b70
8 files changed
+71 -8

No files matched your search

@@ -40,6 +40,10 @@ public class NPC {
((CraftPlayer)owner).getHandle().playerConnection.sendPacket(new PacketPlayOutNamedEntitySpawn(this.npc));
}
public int getEntityId() {
return npc.getId();
}
public void move(Location loc, Player owner) {
this.npc.setLocation(loc.getX(), loc.getY(), loc.getZ(), 0, 0);
((CraftPlayer)owner).getHandle().playerConnection.sendPacket(new PacketPlayOutEntityTeleport(this.npc));