Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
Fix oversight. :)
Dieser Commit ist enthalten in:
Ursprung
e5808b75d8
Commit
6bc6b8bf5a
@ -35,7 +35,7 @@ public class WorldEdit extends Plugin {
|
||||
/**
|
||||
* WorldEditLibrary instance.
|
||||
*/
|
||||
private static final HMWorldEditListener listener = new HMWorldEditListener();
|
||||
private static HMWorldEditListener listener;
|
||||
|
||||
/**
|
||||
* WorldEdit version, fetched from the .jar's manifest. Used to print the
|
||||
@ -50,6 +50,10 @@ public class WorldEdit extends Plugin {
|
||||
public void initialize() {
|
||||
PluginLoader loader = etc.getLoader();
|
||||
|
||||
ServerInterface.setup(new HMServerInterface());
|
||||
|
||||
listener = new HMWorldEditListener();
|
||||
|
||||
loader.addListener(PluginLoader.Hook.BLOCK_CREATED, listener, this,
|
||||
PluginListener.Priority.MEDIUM);
|
||||
loader.addListener(PluginLoader.Hook.BLOCK_DESTROYED, listener, this,
|
||||
@ -62,8 +66,6 @@ public class WorldEdit extends Plugin {
|
||||
PluginListener.Priority.MEDIUM);
|
||||
loader.addListener(PluginLoader.Hook.ARM_SWING, listener, this,
|
||||
PluginListener.Priority.MEDIUM);
|
||||
|
||||
ServerInterface.setup(new HMServerInterface());
|
||||
|
||||
logger.log(Level.INFO, "WorldEdit version " + getVersion() + " loaded");
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren