Do it another way. I fail.

Dieser Commit ist enthalten in:
angelsl 2011-01-01 22:20:32 +08:00
Ursprung 6bc6b8bf5a
Commit 6d172891e2

Datei anzeigen

@ -43,6 +43,11 @@ public class WorldEdit extends Plugin {
*/ */
private String version; private String version;
public WorldEdit() {
ServerInterface.setup(new HMServerInterface());
listener = new HMWorldEditListener();
}
/** /**
* Initializes the plugin. * Initializes the plugin.
*/ */
@ -50,10 +55,6 @@ public class WorldEdit extends Plugin {
public void initialize() { public void initialize() {
PluginLoader loader = etc.getLoader(); PluginLoader loader = etc.getLoader();
ServerInterface.setup(new HMServerInterface());
listener = new HMWorldEditListener();
loader.addListener(PluginLoader.Hook.BLOCK_CREATED, listener, this, loader.addListener(PluginLoader.Hook.BLOCK_CREATED, listener, this,
PluginListener.Priority.MEDIUM); PluginListener.Priority.MEDIUM);
loader.addListener(PluginLoader.Hook.BLOCK_DESTROYED, listener, this, loader.addListener(PluginLoader.Hook.BLOCK_DESTROYED, listener, this,