Only charge in one spot for vaults
This commit is contained in:
@@ -32,7 +32,7 @@ public class VaultCommand implements CommandExecutor {
|
||||
|
||||
switch (args.length) {
|
||||
case 1:
|
||||
if (VaultOperations.openOwnVault(player, args[0], true)) {
|
||||
if (VaultOperations.openOwnVault(player, args[0])) {
|
||||
PlayerVaults.getInstance().getInVault().put(player.getUniqueId().toString(), new VaultViewInfo(player.getUniqueId(), Integer.parseInt(args[0])));
|
||||
} else if (sender.hasPermission("playervaults.admin")) {
|
||||
OfflinePlayer searchPlayer = Bukkit.getOfflinePlayer(args[0]);
|
||||
|
||||
Reference in New Issue
Block a user