return inventory;
}
@Override
public boolean open(Player player) {
ChestOpenEvent event = player.getEngine().getEventManager().callEvent(new ChestOpenEvent(this, player));
if (!event.isCancelled()) {
// Finally open the window
player.get(WindowHolder.class).openWindow(new ChestWindow(player, this));
SoundEffects.RANDOM_CHESTOPEN.playGlobal(player.getPhysics().getPosition());
super.open(player);
return true;