1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-18 01:42:32 +01:00

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)
percentage = String.valueOf((skillvalue / 3000) * 100);
else
percentage = String.valueOf((1000/3000)*100);
percentage = String.valueOf((1000 / 3000) * 100);
if (PP.getSkillLevel(SkillType.UNARMED) < 1000)
arrowpercentage = String.valueOf(((skillvalue / 1000) * 100) / 2);