Actor should not have getWorld().

This commit is contained in:
sk89q
2014-06-27 18:34:58 -07:00
parent 23ce159ccf
commit 9381beb417
5 changed files with 10 additions and 17 deletions

View File

@ -37,13 +37,6 @@ public interface Actor {
*/
String getName();
/**
* Get the actor's world.
*
* @return the world
*/
World getWorld();
/**
* Print a message.
*

View File

@ -240,7 +240,7 @@ public class PlatformManager {
permActor = player;
}
return (T) new PlayerProxy(player, permActor, getWorldForEditing(base.getWorld()));
return (T) new PlayerProxy(player, permActor, getWorldForEditing(player.getWorld()));
} else {
return base;
}