6667686970717273
@Override public void onAttached() { if (!(getOwner() instanceof Player)) { throw new IllegalStateException("A Window may only be attached to a player."); } defaultWindow = new DefaultWindow((Player) getOwner()); this.activeWindow = defaultWindow; }