|
|
|
@@ -433,7 +433,7 @@ index fd1b0564d2d2b45128e6f2556fb93ee56bd683b5..948ae5f96b1d54e69b49f6314d11078f
|
|
|
|
io.papermc.paper.brigadier.PaperBrigadierProviderImpl.INSTANCE.getClass(); // init PaperBrigadierProvider
|
|
|
|
io.papermc.paper.brigadier.PaperBrigadierProviderImpl.INSTANCE.getClass(); // init PaperBrigadierProvider
|
|
|
|
// Paper end
|
|
|
|
// Paper end
|
|
|
|
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
|
|
|
|
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
|
|
|
|
index a9289072b048095330ea32d7c965e8dda61a36fc..bffd82b3d89e12f2c3d6a7e89f5a8ecd12dedc34 100644
|
|
|
|
index fef709fce7309795b6d62d33a220a2be2399efd3..213665dc92e572d7efc6e28d3ceaa74c733bc291 100644
|
|
|
|
--- a/src/main/java/net/minecraft/world/level/Level.java
|
|
|
|
--- a/src/main/java/net/minecraft/world/level/Level.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/level/Level.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/level/Level.java
|
|
|
|
@@ -174,6 +174,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
|
|
|
@@ -174,6 +174,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
|
|
|
@@ -453,10 +453,10 @@ index a9289072b048095330ea32d7c965e8dda61a36fc..bffd82b3d89e12f2c3d6a7e89f5a8ecd
|
|
|
|
this.generator = gen;
|
|
|
|
this.generator = gen;
|
|
|
|
this.world = new CraftWorld((ServerLevel) this, gen, biomeProvider, env);
|
|
|
|
this.world = new CraftWorld((ServerLevel) this, gen, biomeProvider, env);
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
|
|
index 2132954c6e8a32b33bb6b19344db047c32f109cc..fb690144143e6f23ca4064d84e6e0bbad059ceb5 100644
|
|
|
|
index e9cc9ff401233f50279bbc622050fd0894968ae1..a52ff5f8f883ba21f036b7d6830f7470567fe2b6 100644
|
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
|
|
@@ -977,6 +977,7 @@ public final class CraftServer implements Server {
|
|
|
|
@@ -976,6 +976,7 @@ public final class CraftServer implements Server {
|
|
|
|
org.spigotmc.SpigotConfig.init((File) console.options.valueOf("spigot-settings")); // Spigot
|
|
|
|
org.spigotmc.SpigotConfig.init((File) console.options.valueOf("spigot-settings")); // Spigot
|
|
|
|
this.console.paperConfigurations.reloadConfigs(this.console);
|
|
|
|
this.console.paperConfigurations.reloadConfigs(this.console);
|
|
|
|
org.purpurmc.purpur.PurpurConfig.init((File) console.options.valueOf("purpur-settings")); // Purpur
|
|
|
|
org.purpurmc.purpur.PurpurConfig.init((File) console.options.valueOf("purpur-settings")); // Purpur
|
|
|
|
@@ -464,7 +464,7 @@ index 2132954c6e8a32b33bb6b19344db047c32f109cc..fb690144143e6f23ca4064d84e6e0bba
|
|
|
|
for (ServerLevel world : this.console.getAllLevels()) {
|
|
|
|
for (ServerLevel world : this.console.getAllLevels()) {
|
|
|
|
// world.serverLevelData.setDifficulty(config.difficulty); // Paper - per level difficulty
|
|
|
|
// world.serverLevelData.setDifficulty(config.difficulty); // Paper - per level difficulty
|
|
|
|
world.setSpawnSettings(world.serverLevelData.getDifficulty() != Difficulty.PEACEFUL && config.spawnMonsters, config.spawnAnimals); // Paper - per level difficulty (from MinecraftServer#setDifficulty(ServerLevel, Difficulty, boolean))
|
|
|
|
world.setSpawnSettings(world.serverLevelData.getDifficulty() != Difficulty.PEACEFUL && config.spawnMonsters, config.spawnAnimals); // Paper - per level difficulty (from MinecraftServer#setDifficulty(ServerLevel, Difficulty, boolean))
|
|
|
|
@@ -993,6 +994,7 @@ public final class CraftServer implements Server {
|
|
|
|
@@ -992,6 +993,7 @@ public final class CraftServer implements Server {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
world.spigotConfig.init(); // Spigot
|
|
|
|
world.spigotConfig.init(); // Spigot
|
|
|
|
world.purpurConfig.init(); // Purpur
|
|
|
|
world.purpurConfig.init(); // Purpur
|
|
|
|
@@ -472,7 +472,7 @@ index 2132954c6e8a32b33bb6b19344db047c32f109cc..fb690144143e6f23ca4064d84e6e0bba
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Plugin[] pluginClone = pluginManager.getPlugins().clone(); // Paper
|
|
|
|
Plugin[] pluginClone = pluginManager.getPlugins().clone(); // Paper
|
|
|
|
@@ -1009,6 +1011,7 @@ public final class CraftServer implements Server {
|
|
|
|
@@ -1008,6 +1010,7 @@ public final class CraftServer implements Server {
|
|
|
|
org.spigotmc.SpigotConfig.registerCommands(); // Spigot
|
|
|
|
org.spigotmc.SpigotConfig.registerCommands(); // Spigot
|
|
|
|
io.papermc.paper.command.PaperCommands.registerCommands(this.console); // Paper
|
|
|
|
io.papermc.paper.command.PaperCommands.registerCommands(this.console); // Paper
|
|
|
|
org.purpurmc.purpur.PurpurConfig.registerCommands(); // Purpur
|
|
|
|
org.purpurmc.purpur.PurpurConfig.registerCommands(); // Purpur
|
|
|
|
@@ -480,7 +480,7 @@ index 2132954c6e8a32b33bb6b19344db047c32f109cc..fb690144143e6f23ca4064d84e6e0bba
|
|
|
|
this.overrideAllCommandBlockCommands = this.commandsConfiguration.getStringList("command-block-overrides").contains("*");
|
|
|
|
this.overrideAllCommandBlockCommands = this.commandsConfiguration.getStringList("command-block-overrides").contains("*");
|
|
|
|
this.ignoreVanillaPermissions = this.commandsConfiguration.getBoolean("ignore-vanilla-permissions");
|
|
|
|
this.ignoreVanillaPermissions = this.commandsConfiguration.getBoolean("ignore-vanilla-permissions");
|
|
|
|
|
|
|
|
|
|
|
|
@@ -2831,6 +2834,13 @@ public final class CraftServer implements Server {
|
|
|
|
@@ -2830,6 +2833,13 @@ public final class CraftServer implements Server {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Purpur end
|
|
|
|
// Purpur end
|
|
|
|
|
|
|
|
|
|
|
|
|