Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Do it another way. I fail.
Dieser Commit ist enthalten in:
Ursprung
6bc6b8bf5a
Commit
6d172891e2
@ -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,
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren