mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-01 07:03:52 +01:00
Closes #511 (add navigation message)
This commit is contained in:
parent
76032f7d63
commit
763ca00b4b
@ -90,6 +90,7 @@ public enum BBC {
|
|||||||
OPERATION("Operation queued (%s0)", "WorldEdit.Operation"),
|
OPERATION("Operation queued (%s0)", "WorldEdit.Operation"),
|
||||||
|
|
||||||
SELECTION_WAND("Left click: select pos #1; Right click: select pos #2", "WorldEdit.Selection"),
|
SELECTION_WAND("Left click: select pos #1; Right click: select pos #2", "WorldEdit.Selection"),
|
||||||
|
NAVIGATION_WAND_ERROR("&cNothing to pass through", "WorldEdit.Navigation"),
|
||||||
|
|
||||||
SELECTION_WAND_DISABLE("Edit wand disabled.", "WorldEdit.Selection"),
|
SELECTION_WAND_DISABLE("Edit wand disabled.", "WorldEdit.Selection"),
|
||||||
SELECTION_WAND_ENABLE("Edit wand enabled.", "WorldEdit.Selection"),
|
SELECTION_WAND_ENABLE("Edit wand enabled.", "WorldEdit.Selection"),
|
||||||
|
@ -524,7 +524,7 @@ public class PlatformManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!player.passThroughForwardWall(40)) {
|
if (!player.passThroughForwardWall(40)) {
|
||||||
player.printError("Nothing to pass through!");
|
BBC.NAVIGATION_WAND_ERROR.send(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user