Some fractionalDigits()

copied my work on Register.  I will be verifying these.
This commit is contained in:
Lewis Fox 2012-06-22 23:19:15 -05:00
parent d7ab974199
commit e9f86167c8
10 changed files with 50 additions and 0 deletions

5
.gitignore vendored
View File

@ -10,3 +10,8 @@ javadoc
Vault.jar
/Vault.iml
/target
#added by LRFLEW
#feel free to remove
bin
*.DS_Store

View File

@ -255,4 +255,9 @@ public class Economy_3co implements Economy {
economy.createAccount(p, 0);
return true;
}
@Override
public int fractionalDigits() {
return 0;
}
}

View File

@ -300,4 +300,9 @@ public class Economy_BOSE6 implements Economy {
}
return economy.registerPlayer(playerName);
}
@Override
public int fractionalDigits() {
return 0;
}
}

View File

@ -270,4 +270,9 @@ public class Economy_BOSE7 implements Economy {
}
return economy.registerPlayer(playerName);
}
@Override
public int fractionalDigits() {
return economy.getFractionalDigits();
}
}

View File

@ -299,4 +299,9 @@ public class Economy_Craftconomy implements Economy {
AccountHandler.getAccount(playerName);
return true;
}
@Override
public int fractionalDigits() {
return 2;
}
}

View File

@ -280,4 +280,9 @@ public class Economy_Essentials implements Economy {
public boolean hasAccount(String playerName) {
return com.earth2me.essentials.api.Economy.playerExists(playerName);
}
@Override
public int fractionalDigits() {
return -1;
}
}

View File

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

View File

@ -260,4 +260,9 @@ public class Economy_iConomy4 implements Economy {
iConomy.getBank().addAccount(playerName);
return true;
}
@Override
public int fractionalDigits() {
return 2;
}
}

View File

@ -226,4 +226,9 @@ public class Economy_iConomy5 implements Economy {
iConomy.getAccount(playerName);
return true;
}
@Override
public int fractionalDigits() {
return 2;
}
}

View File

@ -252,4 +252,9 @@ public class Economy_iConomy6 implements Economy {
}
return accounts.create(playerName);
}
@Override
public int fractionalDigits() {
return -1;
}
}