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