mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-30 06:23:29 +01:00
Some fractionalDigits()
copied my work on Register. I will be verifying these.
This commit is contained in:
parent
d7ab974199
commit
e9f86167c8
5
.gitignore
vendored
5
.gitignore
vendored
@ -10,3 +10,8 @@ javadoc
|
||||
Vault.jar
|
||||
/Vault.iml
|
||||
/target
|
||||
|
||||
#added by LRFLEW
|
||||
#feel free to remove
|
||||
bin
|
||||
*.DS_Store
|
@ -255,4 +255,9 @@ public class Economy_3co implements Economy {
|
||||
economy.createAccount(p, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -300,4 +300,9 @@ public class Economy_BOSE6 implements Economy {
|
||||
}
|
||||
return economy.registerPlayer(playerName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -270,4 +270,9 @@ public class Economy_BOSE7 implements Economy {
|
||||
}
|
||||
return economy.registerPlayer(playerName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return economy.getFractionalDigits();
|
||||
}
|
||||
}
|
||||
|
@ -299,4 +299,9 @@ public class Economy_Craftconomy implements Economy {
|
||||
AccountHandler.getAccount(playerName);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 2;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -256,4 +256,9 @@ public class Economy_MultiCurrency implements Economy {
|
||||
public boolean createPlayerAccount(String playerName) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
@ -260,4 +260,9 @@ public class Economy_iConomy4 implements Economy {
|
||||
iConomy.getBank().addAccount(playerName);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 2;
|
||||
}
|
||||
}
|
@ -226,4 +226,9 @@ public class Economy_iConomy5 implements Economy {
|
||||
iConomy.getAccount(playerName);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 2;
|
||||
}
|
||||
}
|
@ -252,4 +252,9 @@ public class Economy_iConomy6 implements Economy {
|
||||
}
|
||||
return accounts.create(playerName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user