mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-01 20:15:28 +02:00
Taming Cleanup + Compiler Error fix
This commit is contained in:
@@ -564,7 +564,7 @@ public final class BlockUtils {
|
||||
public static boolean isMcMMOAnvil(BlockState blockState) {
|
||||
Material type = blockState.getType();
|
||||
|
||||
return type == Repair.anvilMaterial || type == Salvage.anvilMaterial;
|
||||
return type == Repair.getInstance().getAnvilMaterial() || type == Salvage.anvilMaterial;
|
||||
}
|
||||
|
||||
public static boolean isPistonPiece(BlockState blockState) {
|
||||
|
@@ -180,7 +180,7 @@ public final class CombatUtils {
|
||||
tamingManager.pummel(target, wolf);
|
||||
|
||||
if (tamingManager.canUseSharpenedClaws()) {
|
||||
finalDamage+=tamingManager.sharpenedClaws();
|
||||
finalDamage+=tamingManager.getSharpenedClawsDamage();
|
||||
}
|
||||
|
||||
if (tamingManager.canUseGore()) {
|
||||
|
Reference in New Issue
Block a user