}
@Override
public void onUpdate(BlockMaterial oldMaterial, Block block) {
super.onUpdate(oldMaterial, block);
Dispenser dispenser = block.get(Dispenser.class);
if (!dispenser.isPowered() && this.isReceivingPower(block)) {
shootItem(block, dispenser.getInventory().getFirstUsedSlot());
}
dispenser.setPowered(this.isReceivingPower(block));
}