Fix i18n key for superpick max range

This commit is contained in:
Octavia Togami 2020-07-01 12:15:15 -07:00
parent ba64e76408
commit 41162e423e
No known key found for this signature in database
GPG Key ID: CC364524D1983C99

View File

@ -66,7 +66,7 @@ public void area(Player player, LocalSession session,
LocalConfiguration config = we.getConfiguration();
if (range > config.maxSuperPickaxeSize) {
player.printError(TranslatableComponent.of("worldedit.superpickaxe.max-range", TextComponent.of(config.maxSuperPickaxeSize)));
player.printError(TranslatableComponent.of("worldedit.tool.superpickaxe.max-range", TextComponent.of(config.maxSuperPickaxeSize)));
return;
}
@ -88,7 +88,7 @@ public void recursive(Player player, LocalSession session,
LocalConfiguration config = we.getConfiguration();
if (range > config.maxSuperPickaxeSize) {
player.printError(TranslatableComponent.of("worldedit.superpickaxe.max-range", TextComponent.of(config.maxSuperPickaxeSize)));
player.printError(TranslatableComponent.of("worldedit.tool.superpickaxe.max-range", TextComponent.of(config.maxSuperPickaxeSize)));
return;
}