mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix errors while using the broken commands
This commit is contained in:
parent
35c2a74c52
commit
9ce4a415cb
@ -205,7 +205,7 @@ public class RegionCommands {
|
|||||||
desc = "Set block lighting in a selection"
|
desc = "Set block lighting in a selection"
|
||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.light.set")
|
@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"));
|
player.print(TextComponent.of("Temporarily not working"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ public class RegionCommands {
|
|||||||
desc = "Set sky lighting in a selection"
|
desc = "Set sky lighting in a selection"
|
||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.light.set")
|
@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"));
|
player.printInfo(TextComponent.of("Temporarily not working"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user