mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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