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>
|
||||
<relocation>
|
||||
<pattern>co.aikar.commands</pattern>
|
||||
<shadedPattern>de.butzlabben.acf</shadedPattern> <!-- Replace this -->
|
||||
<shadedPattern>de.butzlabben.WorldSystem.acf</shadedPattern> <!-- Replace this -->
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>co.aikar.locales</pattern>
|
||||
<shadedPattern>de.butzlabben.locales</shadedPattern> <!-- Replace this -->
|
||||
<shadedPattern>de.butzlabben.WorldSystem.locales</shadedPattern> <!-- Replace this -->
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
@ -184,7 +184,7 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>co.aikar</groupId>
|
||||
<artifactId>acf-paper</artifactId>
|
||||
<artifactId>acf-bukkit</artifactId>
|
||||
<version>0.5.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
@ -1,6 +1,6 @@
|
||||
package de.butzlabben.world;
|
||||
|
||||
import co.aikar.commands.PaperCommandManager;
|
||||
import co.aikar.commands.BukkitCommandManager;
|
||||
import de.butzlabben.WorldSystem.commands.WSCommands;
|
||||
import de.butzlabben.world.command.CommandRegistry;
|
||||
import de.butzlabben.world.config.*;
|
||||
@ -154,7 +154,7 @@ public class WorldSystem extends JavaPlugin {
|
||||
//this.getCommand("ws tnt").setExecutor(new WorldTnt());
|
||||
//this.getCommand("ws fire").setExecutor(new WorldFire());
|
||||
|
||||
PaperCommandManager manager = new PaperCommandManager(this);
|
||||
BukkitCommandManager manager = new BukkitCommandManager(this);
|
||||
manager.registerCommand(new WSCommands());
|
||||
// Bstats deactivated
|
||||
// System.setProperty("bstats.relocatecheck", "false");
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user