Undo making JavaPlugin#logger field public (#9125)

This commit is contained in:
Emily
2023-04-19 12:46:09 -03:00
parent d8b12ddb4c
commit 992e145a16
3 changed files with 18 additions and 17 deletions

View File

@@ -990,8 +990,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ File dataFolder = new File(Bukkit.getPluginsFolder(), pluginDescriptionFile.getName());
+
+ plugin.init(Bukkit.getServer(), pluginDescriptionFile, dataFolder, this.source.toFile(), this, config);
+ plugin.logger = this.logger;
+ plugin.init(Bukkit.getServer(), pluginDescriptionFile, dataFolder, this.source.toFile(), this, config, this.logger);
+
+ this.loadedJavaPlugin = plugin;
+ }