mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-13 06:06:28 +01:00
fix small issue in the readme. removed Towny from list of supported
chats.
This commit is contained in:
parent
64dd884dab
commit
514742c519
@ -99,13 +99,12 @@ Github and we'll get to it at our convenience.
|
||||
- Group Manager (Essentials) (http://forums.bukkit.org/threads/15312/)
|
||||
|
||||
* Chat
|
||||
- ichat
|
||||
- iChat
|
||||
- bPermissions
|
||||
- PEX
|
||||
- Permissions3
|
||||
- mChat
|
||||
- mChatSuite
|
||||
- Towny
|
||||
- Group Manager (Essentials)
|
||||
|
||||
## Implementing Vault
|
||||
@ -186,7 +185,7 @@ public class ExamplePlugin extends JavaPlugin {
|
||||
|
||||
if(command.getLabel().equals("test-economy")) {
|
||||
// Lets give the player 1.05 currency (note that SOME economic plugins require rounding!
|
||||
sender.sendMessage(String.format("You have %s", econ.format(econ.getBalance(player.getName()).amount)));
|
||||
sender.sendMessage(String.format("You have %s", econ.format(econ.getBalance(player.getName()))));
|
||||
EconomyResponse r = econ.depositPlayer(player.getName(), 1.05);
|
||||
if(r.transactionSuccess()) {
|
||||
sender.sendMessage(String.format("You were given %s and now have %s", econ.format(r.amount), econ.format(r.balance)));
|
||||
|
@ -47,7 +47,6 @@ public class Permission_PermissionsEx extends Permission {
|
||||
try {
|
||||
if (Double.valueOf(perms.getDescription().getVersion()) < 1.16) {
|
||||
log.info(String.format("[%s][Permission] %s below 1.16 is not compatible with Vault! Falling back to SuperPerms only mode. PLEASE UPDATE!", plugin.getDescription().getName(), name));
|
||||
return;
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
// Do nothing
|
||||
|
Loading…
Reference in New Issue
Block a user