mace axe diasmp kit, + updateik c:

This commit is contained in:
2025-03-06 20:16:05 +01:00
parent 987994aab4
commit 838c002a8c
8 changed files with 909 additions and 409 deletions

View File

@@ -3,9 +3,9 @@ package hu.jgj52.wolfFFA;
import hu.jgj52.wolfFFA.Commands.EditKitCommand;
import hu.jgj52.wolfFFA.Commands.LeaveCommand;
import hu.jgj52.wolfFFA.Commands.TpToFfaCommand;
import hu.jgj52.wolfFFA.Listeners.BlockBreakListener;
import hu.jgj52.wolfFFA.Listeners.RandomListener;
import hu.jgj52.wolfFFA.Listeners.KitListener;
import hu.jgj52.wolfFFA.Listeners.PlayerDamegeListener;
import hu.jgj52.wolfFFA.Listeners.LeaveCommandListener;
import hu.jgj52.wolfFFA.Utils.MapReset;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
@@ -29,8 +29,8 @@ public final class Main extends JavaPlugin {
getCommand("leave").setExecutor(new LeaveCommand(this));
getServer().getPluginManager().registerEvents(new KitListener(this), this);
getServer().getPluginManager().registerEvents(new BlockBreakListener(this), this);
getServer().getPluginManager().registerEvents(new PlayerDamegeListener(this), this);
getServer().getPluginManager().registerEvents(new RandomListener(this), this);
getServer().getPluginManager().registerEvents(new LeaveCommandListener(this), this);
this.mapReset = new MapReset(this);
}
@@ -45,10 +45,6 @@ public final class Main extends JavaPlugin {
return getPlugin(Main.class);
}
public MapReset getMapResetManager() {
return this.mapReset;
}
public Map<Player, Player> getPlayers() {
return this.players;
}