Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
chore: Reword light command messages (#1885)
Dieser Commit ist enthalten in:
Ursprung
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(
|
||||
|
@ -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.hover": "{0} blocks changed, click for more info",
|
||||
"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.set.region": "Selection set to your current allowed region",
|
||||
"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.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.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.web.generating.link": "Uploading {0}, please wait...",
|
||||
"fawe.web.generating.link.failed": "Failed to generate download link!",
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren