Fixing my fix of Unarmed command display

This commit is contained in:
nossr50 2012-02-29 16:16:38 -08:00
parent 5db7225bc4
commit 69dfd5645a

View File

@ -28,7 +28,7 @@ public class UnarmedCommand implements CommandExecutor {
if (PP.getSkillLevel(SkillType.UNARMED) < 1000) if (PP.getSkillLevel(SkillType.UNARMED) < 1000)
percentage = String.valueOf((skillvalue / 3000) * 100); percentage = String.valueOf((skillvalue / 3000) * 100);
else else
percentage = String.valueOf((1000/3000)*100); percentage = String.valueOf((1000 / 3000) * 100);
if (PP.getSkillLevel(SkillType.UNARMED) < 1000) if (PP.getSkillLevel(SkillType.UNARMED) < 1000)
arrowpercentage = String.valueOf(((skillvalue / 1000) * 100) / 2); arrowpercentage = String.valueOf(((skillvalue / 1000) * 100) / 2);