mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
2.1.121
This commit is contained in:
parent
51e80f40dd
commit
ff8c94bf44
@ -1,3 +1,6 @@
|
||||
Version 2.1.121
|
||||
Fixed a netherite related bug that prevented mcMMO from functioning correctly
|
||||
|
||||
Version 2.1.120
|
||||
Fixed a bug involving the new netherite equipment
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.1.121-SNAPSHOT</version>
|
||||
<version>2.1.121</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user