Reformat
This commit is contained in:
@@ -34,7 +34,7 @@ public class Commands implements CommandExecutor {
|
|||||||
if (cmd.getName().equalsIgnoreCase("pv")) {
|
if (cmd.getName().equalsIgnoreCase("pv")) {
|
||||||
if (sender instanceof Player) {
|
if (sender instanceof Player) {
|
||||||
Player p = (Player) sender;
|
Player p = (Player) sender;
|
||||||
if(PlayerVaults.IN_VAULT.containsKey(p.getName())) return true; // don't let them open another vault.
|
if (PlayerVaults.IN_VAULT.containsKey(p.getName())) return true; // don't let them open another vault.
|
||||||
switch (args.length) {
|
switch (args.length) {
|
||||||
case 1:
|
case 1:
|
||||||
if (VaultOperations.openOwnVault(p, args[0])) {
|
if (VaultOperations.openOwnVault(p, args[0])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user