Implement player.getCompassTarget

This commit is contained in:
Erik Broes
2011-03-25 21:22:03 +01:00
parent 6fc4d9dcfe
commit 9162a654c4
4 changed files with 19 additions and 3 deletions

View File

@@ -171,6 +171,7 @@ public class ServerConfigurationManager {
entityplayer1.id = entityplayer.id;
entityplayer1.a = entityplayer.a;
entityplayer1.displayName = entityplayer.displayName; // CraftBukkit
entityplayer1.compassTarget = entityplayer.compassTarget; // CraftBukkit
((WorldServer) entityplayer.world).u.d((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4);
while (entityplayer.world.a(entityplayer1, entityplayer1.boundingBox).size() != 0) {