mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2024-11-26 04:25:41 +01:00
limits.hit-limit -> block-limits.hit-limit
This commit is contained in:
parent
e1e84a12cc
commit
bd9db6245f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user