From c3ba54a0cec630aa9e60bed7ada378f5c975d1c0 Mon Sep 17 00:00:00 2001 From: bm01 Date: Tue, 3 Jul 2012 03:53:11 +0200 Subject: [PATCH] Removed unneeded cast --- .../nossr50/skills/unarmed/UnarmedBonusDamageEventHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/unarmed/UnarmedBonusDamageEventHandler.java b/src/main/java/com/gmail/nossr50/skills/unarmed/UnarmedBonusDamageEventHandler.java index b5b16c60c..20f1a01c4 100644 --- a/src/main/java/com/gmail/nossr50/skills/unarmed/UnarmedBonusDamageEventHandler.java +++ b/src/main/java/com/gmail/nossr50/skills/unarmed/UnarmedBonusDamageEventHandler.java @@ -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); }