diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java index 7c60aef2..545219a2 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java @@ -34,8 +34,6 @@ import de.steamwar.linkage.Linked; import de.steamwar.linkage.LinkedInstance; import org.bukkit.entity.Player; -import java.io.IOException; - @Linked public class ColorCommand extends SWCommand { @@ -47,7 +45,7 @@ public class ColorCommand extends SWCommand { } @Register(description = "REGION_COLOR_HELP_COLOR") - public void genericColor(Player p, ColorMode color) { + public void genericColor(@Validator Player p, ColorMode color) { genericColorSet(p, color, ColorizationType.LOCAL); } @@ -78,7 +76,7 @@ public class ColorCommand extends SWCommand { } @Register - public void genericColorSet(Player p, ColorizationType colorizationType, ColorMode color) { + public void genericColorSet(@Validator Player p, ColorizationType colorizationType, ColorMode color) { genericColorSet(p, color, colorizationType); }