mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
Implemented CraftServer.getAllowEnd(). Thanks codename-B!
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
799afe978e
commit
67af7c0ed5
2 changed files with 5 additions and 0 deletions
|
@ -309,6 +309,10 @@ public final class CraftServer implements Server {
|
||||||
return this.getConfigString("server-id", "unnamed");
|
return this.getConfigString("server-id", "unnamed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean getAllowEnd() {
|
||||||
|
return this.configuration.getBoolean("settings.allow-end");
|
||||||
|
}
|
||||||
|
|
||||||
public boolean getAllowNether() {
|
public boolean getAllowNether() {
|
||||||
return this.getConfigBoolean("allow-nether", true);
|
return this.getConfigBoolean("allow-nether", true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
allow-end: true
|
||||||
spawn-radius: 16
|
spawn-radius: 16
|
||||||
permissions-file: permissions.yml
|
permissions-file: permissions.yml
|
||||||
update-folder: update
|
update-folder: update
|
||||||
|
|
Loading…
Reference in a new issue