Updated Upstream (Spigot)
Restab at the last upstream to add support for migrating the option for disabling player data saving back into spigots config, vs blindly dropping it Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Spigot Changes: a19903d2 SPIGOT-520: Add option to disable player data saving
This commit is contained in:
@@ -4792,3 +4792,20 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
private int size;
|
||||
private int initialCapacity;
|
||||
|
||||
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
@@ -0,0 +0,0 @@ public class SpigotConfig
|
||||
}
|
||||
}
|
||||
}
|
||||
-
|
||||
+ // Paper start
|
||||
+ SpigotConfig.save();
|
||||
+ }
|
||||
+ public static void save() {
|
||||
+ // Paper end
|
||||
try
|
||||
{
|
||||
config.save( CONFIG_FILE );
|
||||
|
||||
Reference in New Issue
Block a user