Placed hoppers will now preserve orientation.

This commit is contained in:
Brianna O'Keefe 2018-08-13 10:37:47 -04:00
parent 2900dc2c3d
commit 8bebdc7ed6

View File

@ -54,9 +54,6 @@ public class BlockListeners implements Listener {
ItemStack item = e.getItemInHand().clone();
e.getBlock().setType(Material.AIR);
e.getBlock().getLocation().getBlock().setType(Material.HOPPER);
instance.getHopperManager().addHopper(e.getBlock().getLocation(), new EHopper(e.getBlock(), instance.getLevelFromItem(item), e.getPlayer().getUniqueId(), null, new EFilter(), false));
} catch (Exception ee) {