Renamed hey0's plugin to SMWorldEdit. Made WorldEdit somewhat a singleton to hold the ServerInterface instance.

This commit is contained in:
sk89q
2010-10-14 11:59:45 -07:00
parent 5f1a014bfb
commit 92dc88562c
5 changed files with 73 additions and 26 deletions

View File

@ -28,7 +28,14 @@ public abstract class WorldEditPlayer {
/**
* Server interface.
*/
public static ServerInterface server;
protected ServerInterface server;
/**
* Construct the player.
*/
public WorldEditPlayer() {
server = WorldEdit.getServer();
}
/**
* Get the name of the player.