Fix Nag author(s): usage of System.out/err.print

This commit is contained in:
Christian Koop 2021-12-09 21:47:04 +01:00
parent 6206a7e563
commit 1cb35d6183
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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;