Renamed hey0's plugin to SMWorldEdit. Made WorldEdit somewhat a singleton to hold the ServerInterface instance.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user