Less verbose unsupported material warnings

This commit is contained in:
nossr50
2020-04-27 17:28:27 -07:00
parent 145b2432e0
commit 34fe19e35c
5 changed files with 52 additions and 12 deletions

View File

@ -274,7 +274,7 @@ public final class CombatUtils {
}
if (archeryManager.canDaze(target)) {
finalDamage+=archeryManager.daze((Player) target);
finalDamage+=archeryManager.daze((Player) target); //the cast is checked by the if condition
}
if (!arrow.hasMetadata(mcMMO.infiniteArrowKey) && archeryManager.canRetrieveArrows()) {