limits.hit-limit -> block-limits.hit-limit

This commit is contained in:
YellowZaki 2019-06-16 14:35:10 +02:00 committed by GitHub
parent e1e84a12cc
commit bd9db6245f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ public class BlockLimitsListener implements Listener {
private void notify(Cancellable e, User user, int limit, Material m) { private void notify(Cancellable e, User user, int limit, Material m) {
if (limit > -1) { if (limit > -1) {
user.sendMessage("limits.hit-limit", user.sendMessage("block-limits.hit-limit",
"[material]", Util.prettifyText(m.toString()), "[material]", Util.prettifyText(m.toString()),
TextVariables.NUMBER, String.valueOf(limit)); TextVariables.NUMBER, String.valueOf(limit));
e.setCancelled(true); e.setCancelled(true);