mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Actor should not have getWorld().
This commit is contained in:
@ -37,13 +37,6 @@ public interface Actor {
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Get the actor's world.
|
||||
*
|
||||
* @return the world
|
||||
*/
|
||||
World getWorld();
|
||||
|
||||
/**
|
||||
* Print a message.
|
||||
*
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user