Level 1 hoppers will now drop regular hoppers.

This commit is contained in:
Brianna O'Keefe 2018-10-05 16:52:28 -04:00
parent 4a82e19947
commit 2b4e34222b

View File

@ -115,7 +115,7 @@ public class BlockListeners implements Listener {
Level level = hopper.getLevel();
if (level.getLevel() != 0) {
if (level.getLevel() > 1) {
event.setCancelled(true);
ItemStack item = instance.newHopperItem(level);