aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0711-Throw-exception-on-world-create-while-being-ticked.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0711-Throw-exception-on-world-create-while-being-ticked.patch')
-rw-r--r--patches/server/0711-Throw-exception-on-world-create-while-being-ticked.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0711-Throw-exception-on-world-create-while-being-ticked.patch b/patches/server/0711-Throw-exception-on-world-create-while-being-ticked.patch
index 6d760986bc..941d09b2de 100644
--- a/patches/server/0711-Throw-exception-on-world-create-while-being-ticked.patch
+++ b/patches/server/0711-Throw-exception-on-world-create-while-being-ticked.patch
@@ -45,10 +45,10 @@ index 8142e4a238066404f3d1685f9cee1a2b91cdd371..acdba56f025fe729398c5549175baad8
this.profiler.popPush("connection");
MinecraftTimings.connectionTimer.startTiming(); // Spigot // Paper
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 5a56e2b05f993dc1333ffb6e280d7bba97e305d7..986bbc91b82d3062ef1bf1542dd264f4154a7ea1 100644
+index 7f34f198335cf025fbfa4b647f2cee4a548844f8..b3c66e7bda1918b8c7592995ee82f6d5b8700829 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -907,6 +907,11 @@ public final class CraftServer implements Server {
+@@ -915,6 +915,11 @@ public final class CraftServer implements Server {
return new ArrayList<World>(this.worlds.values());
}
@@ -60,7 +60,7 @@ index 5a56e2b05f993dc1333ffb6e280d7bba97e305d7..986bbc91b82d3062ef1bf1542dd264f4
public DedicatedPlayerList getHandle() {
return this.playerList;
}
-@@ -1169,6 +1174,7 @@ public final class CraftServer implements Server {
+@@ -1177,6 +1182,7 @@ public final class CraftServer implements Server {
@Override
public World createWorld(WorldCreator creator) {
Preconditions.checkState(this.console.getAllLevels().iterator().hasNext(), "Cannot create additional worlds on STARTUP");
@@ -68,7 +68,7 @@ index 5a56e2b05f993dc1333ffb6e280d7bba97e305d7..986bbc91b82d3062ef1bf1542dd264f4
Preconditions.checkArgument(creator != null, "WorldCreator cannot be null");
String name = creator.name();
-@@ -1345,6 +1351,7 @@ public final class CraftServer implements Server {
+@@ -1353,6 +1359,7 @@ public final class CraftServer implements Server {
@Override
public boolean unloadWorld(World world, boolean save) {