mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-03-01 15:51:03 +01:00
Fixed an issue with item upgrading
This commit is contained in:
parent
5ff232a48e
commit
38caf2e5c5
@ -148,7 +148,7 @@ public class Consumable extends UseItem {
|
||||
if (MMOItems.plugin.getLanguage().upgradeRequirementsCheck && !playerData.getRPG().canUse(result, false)) {
|
||||
Message.UPGRADE_REQUIREMENT_SAFE_CHECK.format(ChatColor.RED).send(player);
|
||||
player.playSound(player.getLocation(), Sound.ENTITY_VILLAGER_NO, 1, 2);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (random.nextDouble() > consumableSharpening.getSuccess() * targetSharpening.getSuccess()) {
|
||||
|
Loading…
Reference in New Issue
Block a user