mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-13 13:03:54 +00:00
chore: Reword light command messages (#1885)
This commit is contained in:
committed by
GitHub
parent
77a929f6a1
commit
e10774598e
@ -159,18 +159,6 @@ public class RegionCommands {
|
||||
actor.print(Caption.of("fawe.info.lighting.propagate.selection", count));
|
||||
}
|
||||
|
||||
// @Command(
|
||||
// name = "/getlighting",
|
||||
// desc = "Get the light at a position"
|
||||
// )
|
||||
// @CommandPermissions("worldedit.light.fix")
|
||||
// public void getLighting(Player player, EditSession editSession) throws WorldEditException {
|
||||
// final Location loc = player.getLocation();
|
||||
// int block = editSession.getBlockLight(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ());
|
||||
// int sky = editSession.getSkyLight(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ());
|
||||
// player.print(TextComponent.of("Light: " + block + " | " + sky));
|
||||
// }
|
||||
|
||||
@Command(
|
||||
name = "/removelighting",
|
||||
aliases = "/removelight",
|
||||
@ -202,6 +190,7 @@ public class RegionCommands {
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated(since = "TODO", forRemoval = true)
|
||||
@Command(
|
||||
name = "/setblocklight",
|
||||
aliases = "/setlight",
|
||||
@ -209,16 +198,17 @@ public class RegionCommands {
|
||||
)
|
||||
@CommandPermissions("worldedit.light.set")
|
||||
public void setlighting(Actor actor, EditSession editSession, @Selection Region region) {
|
||||
actor.print(Caption.of("fawe.info.temporarily-not-working"));
|
||||
actor.print(Caption.of("fawe.info.light-blocks"));
|
||||
}
|
||||
|
||||
@Deprecated(since = "TODO", forRemoval = true)
|
||||
@Command(
|
||||
name = "/setskylight",
|
||||
desc = "Set sky lighting in a selection"
|
||||
)
|
||||
@CommandPermissions("worldedit.light.set")
|
||||
public void setskylighting(Actor actor, @Selection Region region) {
|
||||
actor.print(Caption.of("fawe.info.temporarily-not-working"));
|
||||
actor.print(Caption.of("fawe.info.light-blocks"));
|
||||
}
|
||||
|
||||
@Command(
|
||||
|
Reference in New Issue
Block a user