Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 11:00:04 +01:00
Made the plugin at least load.
Dieser Commit ist enthalten in:
Ursprung
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() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren