mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixing wrong translation keys
This commit is contained in:
parent
8c7d4c0cc5
commit
1d562c7cc3
@ -156,7 +156,7 @@ public class ToolCommands {
|
|||||||
|
|
||||||
final ItemType itemType = player.getItemInHand(HandSide.MAIN_HAND).getType();
|
final ItemType itemType = player.getItemInHand(HandSide.MAIN_HAND).getType();
|
||||||
session.setTool(player, NavigationWand.INSTANCE);
|
session.setTool(player, NavigationWand.INSTANCE);
|
||||||
player.printInfo(TranslatableComponent.of("worldedit.tool.navWand.equip", TextComponent.of(itemType.getName())));
|
player.printInfo(TranslatableComponent.of("worldedit.tool.navwand.equip", TextComponent.of(itemType.getName())));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
|
@ -705,7 +705,7 @@ public final class PlatformCommandManager {
|
|||||||
}
|
}
|
||||||
} catch (ConditionFailedException e) {
|
} catch (ConditionFailedException e) {
|
||||||
if (e.getCondition() instanceof PermissionCondition) {
|
if (e.getCondition() instanceof PermissionCondition) {
|
||||||
actor.printError(Caption.of("fawe.error.no.perm", StringMan.getString(((PermissionCondition) e.getCondition()).getPermissions())));
|
actor.printError(Caption.of("fawe.error.no-perm", StringMan.getString(((PermissionCondition) e.getCondition()).getPermissions())));
|
||||||
} else {
|
} else {
|
||||||
actor.print(e.getRichMessage());
|
actor.print(e.getRichMessage());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user