mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 13:07:23 +01:00
Finished adding fractionalDigits()
all of the fractionalDigits() have now been tested personally :)
This commit is contained in:
parent
e9f86167c8
commit
4a987eb250
@ -230,4 +230,9 @@ public class Economy_AEco implements Economy {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -302,6 +302,6 @@ public class Economy_Craftconomy implements Economy {
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 2;
|
||||
return -1;
|
||||
}
|
||||
}
|
@ -263,4 +263,9 @@ public class Economy_CurrencyCore implements Economy {
|
||||
this.currency.getAccountManager().createAccount(playerName);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
@ -237,4 +237,9 @@ public class Economy_EconXP implements Economy {
|
||||
public boolean createPlayerAccount(String playerName) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -209,4 +209,9 @@ public class Economy_McMoney implements Economy {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
@ -233,4 +233,9 @@ public class Economy_MineConomy implements Economy {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 2;
|
||||
}
|
||||
}
|
@ -215,4 +215,9 @@ public class Economy_eWallet implements Economy {
|
||||
econ.createAccount(playerName, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fractionalDigits() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user