Commits
Christopher Bohn authored and md_5 committed 768d7fc2df2
608 608 | |
609 609 | public String getWorldType() { |
610 610 | return this.getProperties().properties.getProperty("level-type"); |
611 611 | } |
612 612 | |
613 613 | |
614 614 | public boolean getGenerateStructures() { |
615 615 | return this.getProperties().generatorSettings.shouldGenerateMapFeatures(); |
616 616 | } |
617 617 | |
618 + | |
619 + | public int getMaxWorldSize() { |
620 + | return this.getProperties().maxWorldSize; |
621 + | } |
622 + | |
618 623 | |
619 624 | public boolean getAllowEnd() { |
620 625 | return this.configuration.getBoolean("settings.allow-end"); |
621 626 | } |
622 627 | |
623 628 | |
624 629 | public boolean getAllowNether() { |
625 630 | return this.getServer().getAllowNether(); |
626 631 | } |
627 632 | |