mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-09-30 00:27:28 +02:00
Allowed amount was off.
This commit is contained in:
parent
3be979e59d
commit
009f5569f8
@ -53,7 +53,7 @@ public class BlockListeners implements Listener {
|
||||
|
||||
int max = maxHoppers(player);
|
||||
|
||||
if (max != -1 && amt >= max) {
|
||||
if (max != -1 && amt > max) {
|
||||
player.sendMessage(instance.getLocale().getMessage("event.hopper.toomany", max));
|
||||
e.setCancelled(true);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user