From ba9bf22f970370621684d0d4a1d145d62a001655 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 19 Jan 2022 18:15:36 +0100 Subject: [PATCH] Update stuff --- .../src/de/steamwar/fightsystem/commands/TBCommand.java | 2 +- .../src/de/steamwar/fightsystem/commands/WGCommand.java | 2 +- .../src/de/steamwar/fightsystem/fight/FightTeam.java | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/commands/TBCommand.java b/FightSystem_Core/src/de/steamwar/fightsystem/commands/TBCommand.java index d024e4f..fa18262 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/commands/TBCommand.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/commands/TBCommand.java @@ -31,7 +31,7 @@ import org.bukkit.entity.Player; public class TBCommand implements CommandExecutor { public TBCommand() { - new StateDependentCommand(ArenaMode.Check, FightState.All, "tb", this); + new StateDependentCommand(ArenaMode.Check, FightState.All, "resettb", this); } @Override diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/commands/WGCommand.java b/FightSystem_Core/src/de/steamwar/fightsystem/commands/WGCommand.java index e145391..edb891f 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/commands/WGCommand.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/commands/WGCommand.java @@ -31,7 +31,7 @@ import org.bukkit.entity.Player; public class WGCommand implements CommandExecutor { public WGCommand() { - new StateDependentCommand(ArenaMode.VariableTeams, FightState.Setup, "wg", this); + new StateDependentCommand(ArenaMode.Check, FightState.All, "resetwg", this); } @Override diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightTeam.java b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightTeam.java index fdf5325..d1e888f 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightTeam.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightTeam.java @@ -322,9 +322,7 @@ public class FightTeam { } public void pasteSchem() { - if (this.schematic.hasSchematic()) { - testPasteAction(); - } + testPasteAction(); } public void pasteSchem(SchematicNode schematic){