mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fix Netherite not working for certain skills (like Skull Splitter)
This commit is contained in:
parent
9f9518eea0
commit
a05c015732
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.137</version>
|
<version>2.1.138-SNAPSHOT</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -980,6 +980,8 @@ public final class CombatUtils {
|
|||||||
}
|
}
|
||||||
else if (ItemUtils.isDiamondTool(inHand)) {
|
else if (ItemUtils.isDiamondTool(inHand)) {
|
||||||
tier = 4;
|
tier = 4;
|
||||||
|
} else if (ItemUtils.isNetheriteTool(inHand)) {
|
||||||
|
tier = 5;
|
||||||
}
|
}
|
||||||
else if (mcMMO.getModManager().isCustomTool(inHand)) {
|
else if (mcMMO.getModManager().isCustomTool(inHand)) {
|
||||||
tier = mcMMO.getModManager().getTool(inHand).getTier();
|
tier = mcMMO.getModManager().getTool(inHand).getTier();
|
||||||
|
Loading…
Reference in New Issue
Block a user