mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 13:46:46 +01:00
Fixing my fix of Unarmed command display
This commit is contained in:
parent
5db7225bc4
commit
69dfd5645a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user