mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Made the plugin at least load.
This commit is contained in:
parent
e2905bd3fa
commit
d0e4cc7454
@ -36,6 +36,7 @@
|
||||
<attribute name="WorldEdit-Version" value="${version}"/>
|
||||
<attribute name="Class-Path" value="jnbt.jar truezip.jar"/>
|
||||
</manifest>
|
||||
<copy tofile="${build.dir}/plugin.yml" file="plugin.yml"/>
|
||||
<jar jarfile="${dist.dir}/WorldEdit.jar" basedir="${build.dir}" manifest="manifest.mf"/>
|
||||
</target>
|
||||
|
||||
|
@ -42,12 +42,6 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
PluginDescriptionFile desc, File plugin, ClassLoader cLoader) {
|
||||
super(pluginLoader, instance, desc, plugin, cLoader);
|
||||
|
||||
registerEvents();
|
||||
}
|
||||
|
||||
public void onEnable() {
|
||||
//loadConfiguration();
|
||||
|
||||
ServerInterface.setup(new BukkitServerInterface(getServer()));
|
||||
|
||||
controller.profile = true;
|
||||
@ -66,6 +60,12 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
controller.noDoubleSlash = true;
|
||||
controller.useInventory = false;
|
||||
controller.useInventoryOverride = false;
|
||||
|
||||
registerEvents();
|
||||
}
|
||||
|
||||
public void onEnable() {
|
||||
//loadConfiguration();
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
|
Loading…
Reference in New Issue
Block a user