Update version and fix compilation issues

This commit is contained in:
NuclearW
2012-01-27 21:43:56 -05:00
parent f93efe54a5
commit 7c60217882
2 changed files with 4 additions and 4 deletions

View File

@ -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))
{