mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-26 20:45:36 +01:00
Fix null in square brackets in /vault-info
This commit is contained in:
parent
460cb21c62
commit
e42c1d19e0
@ -416,9 +416,9 @@ public class Vault extends JavaPlugin {
|
||||
}
|
||||
// Send user some info!
|
||||
sender.sendMessage(String.format("[%s] Vault v%s Information", getDescription().getName(), getDescription().getVersion()));
|
||||
sender.sendMessage(String.format("[%s] Economy: %s [%s]", getDescription().getName(), econ == null ? "None" : econ.getName(), registeredEcons));
|
||||
sender.sendMessage(String.format("[%s] Permission: %s [%s]", getDescription().getName(), perm == null ? "None" : perm.getName(), registeredPerms));
|
||||
sender.sendMessage(String.format("[%s] Chat: %s [%s]", getDescription().getName(), chat == null ? "None" : chat.getName(), registeredChats));
|
||||
sender.sendMessage(String.format("[%s] Economy: %s%s", getDescription().getName(), econ == null ? "None" : econ.getName(), registeredEcons == null ? "" : " [" + registeredEcons + "]"));
|
||||
sender.sendMessage(String.format("[%s] Permission: %s%s", getDescription().getName(), perm == null ? "None" : perm.getName(), registeredPerms == null ? "" : " [" + registeredPerms + "]"));
|
||||
sender.sendMessage(String.format("[%s] Chat: %s%s", getDescription().getName(), chat == null ? "None" : chat.getName(), registeredChats == null ? "" : " [" + registeredChats + "]"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user