mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 16:12:18 -07:00
Implemented CraftServer.getAllowEnd(). Thanks codename-B!
This commit is contained in:
@@ -309,6 +309,10 @@ public final class CraftServer implements Server {
|
||||
return this.getConfigString("server-id", "unnamed");
|
||||
}
|
||||
|
||||
public boolean getAllowEnd() {
|
||||
return this.configuration.getBoolean("settings.allow-end");
|
||||
}
|
||||
|
||||
public boolean getAllowNether() {
|
||||
return this.getConfigBoolean("allow-nether", true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user