quick fix : Redundant 'if' statement

This commit is contained in:
Alexdoru committed 2023-01-25 23:11:58 +01:00
1 parent ce3ee201a3
commit d0c3b57e22
29 files changed
+48 -130

No files matched your search

@@ -196,7 +196,7 @@ public class AbilityHelper {
}
if (entity instanceof EntityPlayer) ((EntityPlayer) player).addExhaustion(0.3F);
if (causedDamage) return true;
return causedDamage;
}
}
}