return getData().get(VanillaData.DISPENSER_INVENTORY);
}
@Override
public boolean open(Player player) {
DispenserOpenEvent event = player.getEngine().getEventManager().callEvent(new DispenserOpenEvent(this, player));
if (!event.isCancelled()) {
player.get(WindowHolder.class).openWindow(new DispenserWindow(player, getInventory()));
return true;
}
return false;
}