use bukkit manager

This commit is contained in:
danielb 2024-05-26 01:04:10 +00:00
parent 415151310d
commit 4fd0a6f34c
4 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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");