mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Better message for items not found in current version of MC from Fishing Config
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user