mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 12:12:08 -07:00
Undo making JavaPlugin#logger field public (#9125)
This commit is contained in:
@@ -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;
|
||||
+ }
|
||||
|
Reference in New Issue
Block a user