From 9ce4a415cbf5e5e1ceba9ec5635eb642ea6b7f23 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Thu, 11 Jun 2020 17:24:52 -0400 Subject: [PATCH] Fix errors while using the broken commands --- .../main/java/com/sk89q/worldedit/command/RegionCommands.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java index 9640adcc1..0e6b19089 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java @@ -205,7 +205,7 @@ public class RegionCommands { desc = "Set block lighting in a selection" ) @CommandPermissions("worldedit.light.set") - public void setlighting(Player player, EditSession editSession, @Selection Region region, @Range(from = 0, to = 15) int value) { + public void setlighting(Player player, EditSession editSession, @Selection Region region) { player.print(TextComponent.of("Temporarily not working")); } @@ -214,7 +214,7 @@ public class RegionCommands { desc = "Set sky lighting in a selection" ) @CommandPermissions("worldedit.light.set") - public void setskylighting(Player player, @Selection Region region, @Range(from = 0, to= 15) int value) { + public void setskylighting(Player player, @Selection Region region) { player.printInfo(TextComponent.of("Temporarily not working")); }