mirror of
https://github.com/craftaro/EpicSpawners.git
synced 2025-01-08 11:37:51 +08:00
Fix Nag author(s): usage of System.out/err.print
This commit is contained in:
parent
6206a7e563
commit
1cb35d6183
@ -191,7 +191,7 @@ public class EpicSpawners extends SongodaPlugin {
|
||||
}
|
||||
});
|
||||
|
||||
System.out.println("[" + getDescription().getName() + "] Loading Crafting Recipes");
|
||||
getLogger().info("Loading Crafting Recipes");
|
||||
this.enabledRecipe();
|
||||
});
|
||||
}, "create");
|
||||
|
@ -235,7 +235,7 @@ public class BlockListeners implements Listener {
|
||||
if (spawner.getFirstStack().getSpawnerData() == null) {
|
||||
if (Settings.REMOVE_CORRUPTED_SPAWNERS.getBoolean()) {
|
||||
block.setType(Material.AIR);
|
||||
System.out.println("A corrupted spawner has been removed as its Type no longer exists.");
|
||||
plugin.getLogger().warning("A corrupted spawner has been removed as its Type no longer exists.");
|
||||
spawner.destroy(plugin);
|
||||
}
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user