mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 02:49:44 -05:00
Implemented CraftServer.getAllowEnd(). Thanks codename-B!
This commit is contained in:
1 parent
d36ac82c83
commit
f7649724fe
3 files changed
+12
-1
No files matched your search
@@ -223,7 +223,13 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
|
||||
}
|
||||
|
||||
if (k == 2) {
|
||||
dimension = 1;
|
||||
// CraftBukkit start (+ don't do this in server.properties, do it in bukkit.yml)
|
||||
if (this.server.getAllowEnd()) {
|
||||
dimension = 1;
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
||||
String worldType = Environment.getEnvironment(dimension).toString().toLowerCase();
|
||||
|
||||
Reference in new issue
Block a user