mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 13:46: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() {
|
protected void calculateDamageBonus() {
|
||||||
int damageBonus = 3 + (manager.getSkillLevel() / Unarmed.ironArmIncreaseLevel);
|
int damageBonus = 3 + (manager.getSkillLevel() / Unarmed.ironArmIncreaseLevel);
|
||||||
|
|
||||||
if (damageBonus > Unarmed.ironArmBonusDamage) {
|
if (damageBonus > Unarmed.ironArmMaxBonusDamage) {
|
||||||
damageBonus = Unarmed.ironArmBonusDamage;
|
damageBonus = Unarmed.ironArmMaxBonusDamage;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.damageBonus = damageBonus;
|
this.damageBonus = damageBonus;
|
||||||
|
Loading…
Reference in New Issue
Block a user