A feature-rich Minecraft plugin which enhances gaming experience
git clone git://soophie.de/poppy
30
public void onInventoryMoveItem(InventoryMoveItemEvent event)31
{33
if(event.getDestination().getLocation().clone() == null)33
if(event.getDestination().getLocation() == null)34
{35
return;36
}38
final Location targetHopperLocation = event.getDestination().getLocation().clone();38
final Location targetHopperLocation = event.getDestination().getLocation();39
final Block targetHopper = targetHopperLocation.getBlock();41
if(targetHopper.getType() != Material.HOPPER)