1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-05 07:04:44 +02:00

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
Changelog.txt
src/main/java/com/gmail/nossr50

@ -71,6 +71,7 @@ public class CompatibilityManager {
}
//TODO: move to text manager
public void reportCompatibilityStatus(CommandSender commandSender) {
if(isFullyCompatibleServerSoftware) {
commandSender.sendMessage(LocaleLoader.getString("mcMMO.Template.Prefix",

@ -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()) {