src/main/java/de/dosmike/sponge/megamenus/impl/BoundMenuImpl.java
@SuppressWarnings("deprecation")
    @Override
    public MenuRenderer createGuiRenderer(int pageheight, boolean bound) {
        if (bound)
            throw new IllegalArgumentException("Can't create a bound menu instance from a bound menu");
        if (pageheight < 1 || pageheight > 6)
            throw new ObjectBuilderException("A Gui Menu requires 1 to 6 rows");

        return new GuiRenderer(this, pageheight);
    }
/**
     * @param bound not applicable, has to be false
     */
@param bound not applicable, has to be false
@param bound not applicable has to be false
@SuppressWarnings("deprecation")
    @Override
    public MenuRenderer createGuiRenderer(int pageheight, boolean bound) {
        if (bound)
            throw new IllegalArgumentException("Can't create a bound menu instance from a bound menu");
        if (pageheight < 1 || pageheight > 6)
            throw new ObjectBuilderException("A Gui Menu requires 1 to 6 rows");
        return new GuiRenderer(this, pageheight);
    }
@ SuppressWarnings ( "deprecation" ) @ Override public MenuRenderer createGuiRenderer ( int pageheight , boolean bound ) { if ( bound ) throw new IllegalArgumentException ( "Can't create a bound menu instance from a bound menu" ) ; if ( pageheight < 1 || pageheight > 6 ) throw new ObjectBuilderException ( "A Gui Menu requires 1 to 6 rows" ) ; return new GuiRenderer ( this , pageheight ) ; }
@param bound not applicable, has to be false
@param bound not applicable has to be false