mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-30 19:52:06 -07:00
* Make WorldCreator#keepSpawnLoaded return the WorldCreator (Fixes #8321) Thought that I fixed this before push/merge, apparently not, hence, fix the return type and add mitigation for this. * Fix patch/build * Rebuild patches
This commit is contained in:
@@ -38,10 +38,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * configuration, otherwise, will act as an override towards this setting
|
||||
+ *
|
||||
+ * @param keepSpawnLoaded the new value
|
||||
+ * @return This object, for chaining
|
||||
+ */
|
||||
+ public void keepSpawnLoaded(@NotNull net.kyori.adventure.util.TriState keepSpawnLoaded) {
|
||||
+ @NotNull
|
||||
+ public WorldCreator keepSpawnLoaded(@NotNull net.kyori.adventure.util.TriState keepSpawnLoaded) {
|
||||
+ java.util.Objects.requireNonNull(keepSpawnLoaded, "keepSpawnLoaded");
|
||||
+ this.keepSpawnLoaded = keepSpawnLoaded;
|
||||
+ return this;
|
||||
+ }
|
||||
+
|
||||
+ // Paper end
|
||||
|
Reference in New Issue
Block a user