mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-30 20:48:19 +01:00
Removed unneeded cast
This commit is contained in:
parent
1443e2f6b8
commit
c3ba54a0ce
@ -25,7 +25,7 @@ public class UnarmedBonusDamageEventHandler {
|
||||
|
||||
protected void modifyEventDamage() {
|
||||
int damage = event.getDamage();
|
||||
int unarmedBonus = (int) (damage + damageBonus);
|
||||
int unarmedBonus = damage + damageBonus;
|
||||
|
||||
event.setDamage(damage + unarmedBonus);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user