mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-10 14:36:06 +00:00
chore: Reword light command messages (#1885)
This commit is contained in:
parent
77a929f6a1
commit
e10774598e
@ -159,18 +159,6 @@ public class RegionCommands {
|
|||||||
actor.print(Caption.of("fawe.info.lighting.propagate.selection", count));
|
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(
|
@Command(
|
||||||
name = "/removelighting",
|
name = "/removelighting",
|
||||||
aliases = "/removelight",
|
aliases = "/removelight",
|
||||||
@ -202,6 +190,7 @@ public class RegionCommands {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated(since = "TODO", forRemoval = true)
|
||||||
@Command(
|
@Command(
|
||||||
name = "/setblocklight",
|
name = "/setblocklight",
|
||||||
aliases = "/setlight",
|
aliases = "/setlight",
|
||||||
@ -209,16 +198,17 @@ public class RegionCommands {
|
|||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.light.set")
|
@CommandPermissions("worldedit.light.set")
|
||||||
public void setlighting(Actor actor, EditSession editSession, @Selection Region region) {
|
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(
|
@Command(
|
||||||
name = "/setskylight",
|
name = "/setskylight",
|
||||||
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(Actor actor, @Selection Region region) {
|
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(
|
@Command(
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"fawe.worldedit.history.find.element.more": " - Changes: {0}\n - Bounds: {1} -> {2}\n - Extra: {3}\n - Size on Disk: {4}",
|
"fawe.worldedit.history.find.element.more": " - Changes: {0}\n - Bounds: {1} -> {2}\n - Extra: {3}\n - Size on Disk: {4}",
|
||||||
"fawe.worldedit.history.find.hover": "{0} blocks changed, click for more info",
|
"fawe.worldedit.history.find.hover": "{0} blocks changed, click for more info",
|
||||||
"fawe.worldedit.history.distr.summary_null": "Could not find edit summary for inputs.",
|
"fawe.worldedit.history.distr.summary_null": "Could not find edit summary for inputs.",
|
||||||
"fawe.info.lighting.propagate.selection": "Lighting has been propagated in {0} chunks. (Note: To remove light use //removelight)",
|
"fawe.info.lighting.propagate.selection": "Lighting has been propagated in {0} chunks.",
|
||||||
"fawe.info.updated.lighting.selection": "Lighting has been updated in {0} chunks. (It may take a second for the packets to send)",
|
"fawe.info.updated.lighting.selection": "Lighting has been updated in {0} chunks. (It may take a second for the packets to send)",
|
||||||
"fawe.info.set.region": "Selection set to your current allowed region",
|
"fawe.info.set.region": "Selection set to your current allowed region",
|
||||||
"fawe.info.worldedit.toggle.tips.on": "Disabled FAWE tips.",
|
"fawe.info.worldedit.toggle.tips.on": "Disabled FAWE tips.",
|
||||||
@ -13,6 +13,7 @@
|
|||||||
"fawe.info.worldedit.restricted": "Your FAWE edits are now restricted.",
|
"fawe.info.worldedit.restricted": "Your FAWE edits are now restricted.",
|
||||||
"fawe.info.worldedit.oom.admin": "Possible options:\n - //fast\n - Do smaller edits\n - Allocate more memory\n - Disable `max-memory-percent`",
|
"fawe.info.worldedit.oom.admin": "Possible options:\n - //fast\n - Do smaller edits\n - Allocate more memory\n - Disable `max-memory-percent`",
|
||||||
"fawe.info.temporarily-not-working": "Temporarily not working",
|
"fawe.info.temporarily-not-working": "Temporarily not working",
|
||||||
|
"fawe.info.light-blocks": "Light blocks are more reliable than light sources, please use the blocks. This command is deprecated and will be removed in a future version.",
|
||||||
"fawe.info.update-available": "An update for FastAsyncWorldEdit is available. You are {0} build(s) out of date.\nYou are running build {1}, the latest version is build {2}.\nUpdate at {3}",
|
"fawe.info.update-available": "An update for FastAsyncWorldEdit is available. You are {0} build(s) out of date.\nYou are running build {1}, the latest version is build {2}.\nUpdate at {3}",
|
||||||
"fawe.web.generating.link": "Uploading {0}, please wait...",
|
"fawe.web.generating.link": "Uploading {0}, please wait...",
|
||||||
"fawe.web.generating.link.failed": "Failed to generate download link!",
|
"fawe.web.generating.link.failed": "Failed to generate download link!",
|
||||||
|
Loading…
Reference in New Issue
Block a user