mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Update version and fix compilation issues
This commit is contained in:
@ -315,7 +315,7 @@ public class Repair {
|
||||
|
||||
if(rank == 0)
|
||||
{
|
||||
if(LoadProperties.mayLoseEnchants())
|
||||
if(LoadProperties.mayLoseEnchants)
|
||||
{
|
||||
player.sendMessage(mcLocale.getString("Repair.LostEnchants"));
|
||||
for(Enchantment x : enchants)
|
||||
@ -328,7 +328,7 @@ public class Repair {
|
||||
|
||||
boolean failure = false, downgrade = false;
|
||||
|
||||
if(LoadProperties.mayLoseEnchants())
|
||||
if(LoadProperties.mayLoseEnchants)
|
||||
{
|
||||
for(Enchantment x : enchants)
|
||||
{
|
||||
@ -341,7 +341,7 @@ public class Repair {
|
||||
{
|
||||
if(enchantsLvl[pos] > 1)
|
||||
{
|
||||
if(LoadProperties.mayDowngradeEnchants())
|
||||
if(LoadProperties.mayDowngradeEnchants)
|
||||
{
|
||||
if(Math.random() * 100 <= getDowngradeChance(rank))
|
||||
{
|
||||
|
Reference in New Issue
Block a user