mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
parent
2cd52db8c9
commit
2414ddf485
@ -233,7 +233,7 @@ public final class Woodcutting {
|
|||||||
boolean overMax = (finalDurability >= maxDurability);
|
boolean overMax = (finalDurability >= maxDurability);
|
||||||
|
|
||||||
inHand.setDurability(overMax ? maxDurability : finalDurability);
|
inHand.setDurability(overMax ? maxDurability : finalDurability);
|
||||||
return overMax;
|
return !overMax;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user