mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-06 07:34:43 +02:00
Changed Woodcutting durability calulations to ignore leaves and include
abilityDurabiltyLoss
This commit is contained in:
@ -193,7 +193,7 @@ public class Skills {
|
||||
|
||||
if (PP.getSkillXpLevel(skillType) >= PP.getXpToLevel(skillType)) {
|
||||
int skillups = 0;
|
||||
|
||||
|
||||
while (PP.getSkillXpLevel(skillType) >= PP.getXpToLevel(skillType)) {
|
||||
if (skillType.getMaxLevel() >= PP.getSkillLevel(skillType) + 1) {
|
||||
skillups++;
|
||||
|
Reference in New Issue
Block a user