From 9e8205b5e2716e62e0743eccc87a74e2765ac784 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Wed, 31 Jan 2018 17:03:55 -0800 Subject: [PATCH] Work with PlayerVaultsX --- pom.xml | 2 +- src/main/java/com/massivecraft/factions/cmd/CmdVault.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 4f96d873..9e596ca9 100644 --- a/pom.xml +++ b/pom.xml @@ -293,7 +293,7 @@ com.drtshock PlayerVaults - 3.6.0 + 4.0.0-SNAPSHOT me.clip diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdVault.java b/src/main/java/com/massivecraft/factions/cmd/CmdVault.java index 24125fbc..0ba43267 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdVault.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdVault.java @@ -69,7 +69,7 @@ public class CmdVault extends FCommand { } // end listing vaults. // Attempt to open vault. - if (VaultOperations.openOtherVault(player, vaultName, String.valueOf(number))) { + if (VaultOperations.openOtherVault(player, null, String.valueOf(number))) { // Success PlayerVaults.getInstance().getInVault().put(player.getUniqueId().toString(), new VaultViewInfo(vaultName, number)); }