geforkt von Mirrors/Paper
Add Alternate Current's redstone implementation as an alternative to Vanilla and Eigencraft's. (#7701)
Dieser Commit ist enthalten in:
Ursprung
af019e9d32
Commit
14d355612e
2414
patches/server/Add-Alternate-Current-redstone-implementation.patch
Normale Datei
2414
patches/server/Add-Alternate-Current-redstone-implementation.patch
Normale Datei
Datei-Diff unterdrückt, da er zu groß ist
Diff laden
@ -84,8 +84,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
commands.put("paper", new PaperCommand("paper"));
|
||||
+ commands.put("mspt", new MSPTCommand("mspt"));
|
||||
|
||||
version = getInt("config-version", 26);
|
||||
set("config-version", 26);
|
||||
version = getInt("config-version", 27);
|
||||
set("config-version", 27);
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
|
@ -364,8 +364,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ commands = new HashMap<String, Command>();
|
||||
+ commands.put("paper", new PaperCommand("paper"));
|
||||
+
|
||||
+ version = getInt("config-version", 26);
|
||||
+ set("config-version", 26);
|
||||
+ version = getInt("config-version", 27);
|
||||
+ set("config-version", 27);
|
||||
+ readConfig(PaperConfig.class, null);
|
||||
+ }
|
||||
+
|
||||
@ -536,6 +536,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ private void remove(String path) {
|
||||
+ config.addDefault("world-settings.default." + path, null);
|
||||
+ set(path, null);
|
||||
+ }
|
||||
+
|
||||
+ public void removeOldValues() {
|
||||
+ boolean needsSave = false;
|
||||
+
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren