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