mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Update to Minecraft 1.16.2
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
private final java.nio.file.Path path;
|
||||
private DedicatedServerProperties properties;
|
||||
|
||||
- public DedicatedServerSettings(java.nio.file.Path java_nio_file_path) {
|
||||
- public DedicatedServerSettings(IRegistryCustom iregistrycustom, java.nio.file.Path java_nio_file_path) {
|
||||
- this.path = java_nio_file_path;
|
||||
- this.properties = DedicatedServerProperties.load(java_nio_file_path);
|
||||
- this.properties = DedicatedServerProperties.load(iregistrycustom, java_nio_file_path);
|
||||
+ // CraftBukkit start
|
||||
+ public DedicatedServerSettings(OptionSet optionset) {
|
||||
+ public DedicatedServerSettings(IRegistryCustom iregistrycustom, OptionSet optionset) {
|
||||
+ this.path = ((File) optionset.valueOf("config")).toPath();
|
||||
+ this.properties = DedicatedServerProperties.load(path, optionset);
|
||||
+ this.properties = DedicatedServerProperties.load(iregistrycustom, path, optionset);
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user