diff options
Diffstat (limited to 'patches/server/0707-Throw-exception-on-world-create-while-being-ticked.patch')
-rw-r--r-- | patches/server/0707-Throw-exception-on-world-create-while-being-ticked.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0707-Throw-exception-on-world-create-while-being-ticked.patch b/patches/server/0707-Throw-exception-on-world-create-while-being-ticked.patch index 562543e709..8d6f8d9e1d 100644 --- a/patches/server/0707-Throw-exception-on-world-create-while-being-ticked.patch +++ b/patches/server/0707-Throw-exception-on-world-create-while-being-ticked.patch @@ -45,10 +45,10 @@ index 94aa901b77b19445a33d5b2b24ba2e947d2a6aef..11b9eb8d7d5f9ad736f2c6784c5d9e74 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 b09c1359e4bd5f287b9ce3682fd7d9defa8f7e61..50a4b51ff9b05786ac763f8277bb67c247c04d31 100644 +index cfdfb81bc81382b71131c037ebd56f24573d4e34..8f8674ccee58f1910ffc3926d42913048da1810e 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -@@ -916,6 +916,11 @@ public final class CraftServer implements Server { +@@ -917,6 +917,11 @@ public final class CraftServer implements Server { return new ArrayList<World>(this.worlds.values()); } @@ -60,7 +60,7 @@ index b09c1359e4bd5f287b9ce3682fd7d9defa8f7e61..50a4b51ff9b05786ac763f8277bb67c2 public DedicatedPlayerList getHandle() { return this.playerList; } -@@ -1178,6 +1183,7 @@ public final class CraftServer implements Server { +@@ -1180,6 +1185,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 b09c1359e4bd5f287b9ce3682fd7d9defa8f7e61..50a4b51ff9b05786ac763f8277bb67c2 Preconditions.checkArgument(creator != null, "WorldCreator cannot be null"); String name = creator.name(); -@@ -1354,6 +1360,7 @@ public final class CraftServer implements Server { +@@ -1356,6 +1362,7 @@ public final class CraftServer implements Server { @Override public boolean unloadWorld(World world, boolean save) { |