return;
}
Player player = (Player) entity;
AnvilInventory inventory = new AnvilInventory();
AnvilOpenEvent event = player.getEngine().getEventManager().callEvent(new AnvilOpenEvent(block, inventory, player));
if (!event.isCancelled()) {
player.get(WindowHolder.class).openWindow(new AnvilWindow(player, new AnvilInventory(), block));
}
}