mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-11-14 23:50:49 +01:00
slightly better logs
This commit is contained in:
@@ -161,7 +161,7 @@ public class PotionConfig extends LegacyConfigLoader {
|
||||
}
|
||||
}
|
||||
|
||||
int totalPotions = potionsLoaded + incompatible + failures;
|
||||
int totalPotions = potionsLoaded + failures;
|
||||
|
||||
mcMMO.p.getLogger()
|
||||
.info("Loaded " + potionsLoaded + " of " + totalPotions + " Alchemy potions.");
|
||||
|
||||
@@ -99,7 +99,10 @@ public class TreasureConfig extends BukkitConfig {
|
||||
type + "." + treasureName + ".Data");
|
||||
|
||||
if (material == null) {
|
||||
reason.add("Invalid material: " + materialName);
|
||||
LogUtils.debug(mcMMO.p.getLogger(),
|
||||
String.format("Material '%s' for treasure '%s' is not recognized."
|
||||
+ " Skipping...", materialName, treasureName));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (amount <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user