mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
KillAura check works now, currently uses 1 bot
This commit is contained in:
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));
|
||||
|
||||
Reference in new issue
Block a user