mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2024-11-13 06:05:33 +01:00
Fixes locale text error
https://github.com/BentoBoxWorld/Limits/issues/33
This commit is contained in:
parent
34c5e79d49
commit
2beeb118f9
@ -126,7 +126,7 @@ public class EntityLimitListener implements Listener {
|
||||
if (!island.isSpawn() && atLimit(island, bypass, e.getEntity())) {
|
||||
// Not allowed
|
||||
e.setCancelled(true);
|
||||
User.getInstance(player).sendMessage("limits.hit-limit", "[material]",
|
||||
User.getInstance(player).sendMessage("block-limits.hit-limit", "[material]",
|
||||
Util.prettifyText(e.getEntity().getType().toString()),
|
||||
"[number]", String.valueOf(addon.getSettings().getLimits().getOrDefault(e.getEntity().getType(), -1)));
|
||||
|
||||
|
@ -3,11 +3,14 @@
|
||||
# the one at http://yaml-online-parser.appspot.com #
|
||||
###########################################################################################
|
||||
|
||||
block-limits:
|
||||
hit-limit: "&c[material] limited to [number]!"
|
||||
entity-limits:
|
||||
hit-limit: "&c[entity] spawning limited to [number]!"
|
||||
limits:
|
||||
entity-hit-limit: "&c[entity] spawning limited to [number]!"
|
||||
block-hit-limit: "&c[material] limited to [number]!"
|
||||
panel-title: "Island limits"
|
||||
|
||||
|
||||
admin:
|
||||
limits:
|
||||
main:
|
||||
@ -27,4 +30,3 @@ island:
|
||||
block-limit-syntax: "[number]/[limit]"
|
||||
no-limits: "&cNo limits set in this world"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user