Finished adding fractionalDigits()

all of the fractionalDigits() have now been tested personally :)
This commit is contained in:
Lewis Fox 2012-06-24 20:28:01 -05:00
parent e9f86167c8
commit 4a987eb250
7 changed files with 31 additions and 1 deletions

View File

@ -230,4 +230,9 @@ public class Economy_AEco implements Economy {
}
return false;
}
@Override
public int fractionalDigits() {
return 0;
}
}

View File

@ -302,6 +302,6 @@ public class Economy_Craftconomy implements Economy {
@Override
public int fractionalDigits() {
return 2;
return -1;
}
}

View File

@ -263,4 +263,9 @@ public class Economy_CurrencyCore implements Economy {
this.currency.getAccountManager().createAccount(playerName);
return true;
}
@Override
public int fractionalDigits() {
return -1;
}
}

View File

@ -237,4 +237,9 @@ public class Economy_EconXP implements Economy {
public boolean createPlayerAccount(String playerName) {
return false;
}
@Override
public int fractionalDigits() {
return 0;
}
}

View File

@ -209,4 +209,9 @@ public class Economy_McMoney implements Economy {
}
return false;
}
@Override
public int fractionalDigits() {
return -1;
}
}

View File

@ -233,4 +233,9 @@ public class Economy_MineConomy implements Economy {
return false;
}
}
@Override
public int fractionalDigits() {
return 2;
}
}

View File

@ -215,4 +215,9 @@ public class Economy_eWallet implements Economy {
econ.createAccount(playerName, 0);
return true;
}
@Override
public int fractionalDigits() {
return 0;
}
}