Work with PlayerVaultsX

This commit is contained in:
Trent Hensler 2018-01-31 17:03:55 -08:00
parent 8484f92030
commit 9e8205b5e2
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@
<dependency>
<groupId>com.drtshock</groupId>
<artifactId>PlayerVaults</artifactId>
<version>3.6.0</version>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>me.clip</groupId>

View File

@ -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));
}