mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 05:32:18 -07:00
Add Alternate Current's redstone implementation as an alternative to Vanilla and Eigencraft's. (#7701)
This commit is contained in:
@@ -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;
|
||||
+
|
||||
|
Reference in New Issue
Block a user