Better message for items not found in current version of MC from Fishing Config

This commit is contained in:
nossr50
2020-12-28 16:58:57 -08:00
parent 31e0f1e4da
commit 8b62c0b693
2 changed files with 10 additions and 8 deletions

View File

@ -137,7 +137,8 @@ public class FishingTreasureConfig extends ConfigLoader {
short data = (treasureInfo.length == 2) ? Short.parseShort(treasureInfo[1]) : (short) config.getInt(type + "." + treasureName + ".Data");
if (material == null) {
reason.add("Invalid material: " + materialName);
reason.add("Cannot find matching item type in this version of MC, skipping - " + materialName);
continue;
}
if (amount <= 0) {