mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
2.1.121
This commit is contained in:
@ -48,6 +48,11 @@ public class RepairConfig extends ConfigLoader {
|
||||
Material itemMaterial = Material.matchMaterial(key);
|
||||
|
||||
if (itemMaterial == null) {
|
||||
if(key.toLowerCase().contains("nether")) {
|
||||
mcMMO.p.getLogger().info("No support for repair item "+key+ " in this version of Minecraft, skipping.");
|
||||
continue;
|
||||
}
|
||||
|
||||
reason.add("Invalid material: " + key);
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,12 @@ public class SalvageConfig extends ConfigLoader {
|
||||
Material itemMaterial = Material.matchMaterial(key);
|
||||
|
||||
if (itemMaterial == null) {
|
||||
|
||||
if(key.toLowerCase().contains("nether")) {
|
||||
mcMMO.p.getLogger().info("No support for salvage item "+key+ " in this version of Minecraft, skipping.");
|
||||
continue;
|
||||
}
|
||||
|
||||
reason.add("Invalid material: " + key);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user