mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-11-28 12:45:12 +01:00
use bukkit manager
This commit is contained in:
parent
415151310d
commit
4fd0a6f34c
6
pom.xml
6
pom.xml
@ -65,11 +65,11 @@
|
|||||||
<relocations>
|
<relocations>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>co.aikar.commands</pattern>
|
<pattern>co.aikar.commands</pattern>
|
||||||
<shadedPattern>de.butzlabben.acf</shadedPattern> <!-- Replace this -->
|
<shadedPattern>de.butzlabben.WorldSystem.acf</shadedPattern> <!-- Replace this -->
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>co.aikar.locales</pattern>
|
<pattern>co.aikar.locales</pattern>
|
||||||
<shadedPattern>de.butzlabben.locales</shadedPattern> <!-- Replace this -->
|
<shadedPattern>de.butzlabben.WorldSystem.locales</shadedPattern> <!-- Replace this -->
|
||||||
</relocation>
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -184,7 +184,7 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>co.aikar</groupId>
|
<groupId>co.aikar</groupId>
|
||||||
<artifactId>acf-paper</artifactId>
|
<artifactId>acf-bukkit</artifactId>
|
||||||
<version>0.5.1-SNAPSHOT</version>
|
<version>0.5.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package de.butzlabben.world;
|
package de.butzlabben.world;
|
||||||
|
|
||||||
import co.aikar.commands.PaperCommandManager;
|
import co.aikar.commands.BukkitCommandManager;
|
||||||
import de.butzlabben.WorldSystem.commands.WSCommands;
|
import de.butzlabben.WorldSystem.commands.WSCommands;
|
||||||
import de.butzlabben.world.command.CommandRegistry;
|
import de.butzlabben.world.command.CommandRegistry;
|
||||||
import de.butzlabben.world.config.*;
|
import de.butzlabben.world.config.*;
|
||||||
@ -154,7 +154,7 @@ public class WorldSystem extends JavaPlugin {
|
|||||||
//this.getCommand("ws tnt").setExecutor(new WorldTnt());
|
//this.getCommand("ws tnt").setExecutor(new WorldTnt());
|
||||||
//this.getCommand("ws fire").setExecutor(new WorldFire());
|
//this.getCommand("ws fire").setExecutor(new WorldFire());
|
||||||
|
|
||||||
PaperCommandManager manager = new PaperCommandManager(this);
|
BukkitCommandManager manager = new BukkitCommandManager(this);
|
||||||
manager.registerCommand(new WSCommands());
|
manager.registerCommand(new WSCommands());
|
||||||
// Bstats deactivated
|
// Bstats deactivated
|
||||||
// System.setProperty("bstats.relocatecheck", "false");
|
// System.setProperty("bstats.relocatecheck", "false");
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user