Fixed an issue with the "allow normal hoppers" setting.

This commit is contained in:
Brianna 2020-11-16 12:12:43 -06:00
parent 020877b43a
commit 43624e07f8

View File

@ -103,7 +103,7 @@ public class BlockListeners implements Listener {
Level level = hopper.getLevel();
if (level.getLevel() > 1) {
if (level.getLevel() > 1 || Settings.ALLOW_NORMAL_HOPPERS.getBoolean()) {
event.setCancelled(true);
ItemStack item = plugin.newHopperItem(level);