mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
I broke the build...
This commit is contained in:
parent
74c32c4e59
commit
cac5f15a37
@ -16,8 +16,8 @@ public class UnarmedBonusDamageEventHandler {
|
||||
protected void calculateDamageBonus() {
|
||||
int damageBonus = 3 + (manager.getSkillLevel() / Unarmed.ironArmIncreaseLevel);
|
||||
|
||||
if (damageBonus > Unarmed.ironArmBonusDamage) {
|
||||
damageBonus = Unarmed.ironArmBonusDamage;
|
||||
if (damageBonus > Unarmed.ironArmMaxBonusDamage) {
|
||||
damageBonus = Unarmed.ironArmMaxBonusDamage;
|
||||
}
|
||||
|
||||
this.damageBonus = damageBonus;
|
||||
|
Loading…
Reference in New Issue
Block a user