Work with PlayerVaultsX
This commit is contained in:
parent
8484f92030
commit
9e8205b5e2
2
pom.xml
2
pom.xml
@ -293,7 +293,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.drtshock</groupId>
|
<groupId>com.drtshock</groupId>
|
||||||
<artifactId>PlayerVaults</artifactId>
|
<artifactId>PlayerVaults</artifactId>
|
||||||
<version>3.6.0</version>
|
<version>4.0.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>me.clip</groupId>
|
<groupId>me.clip</groupId>
|
||||||
|
@ -69,7 +69,7 @@ public class CmdVault extends FCommand {
|
|||||||
} // end listing vaults.
|
} // end listing vaults.
|
||||||
|
|
||||||
// Attempt to open vault.
|
// Attempt to open vault.
|
||||||
if (VaultOperations.openOtherVault(player, vaultName, String.valueOf(number))) {
|
if (VaultOperations.openOtherVault(player, null, String.valueOf(number))) {
|
||||||
// Success
|
// Success
|
||||||
PlayerVaults.getInstance().getInVault().put(player.getUniqueId().toString(), new VaultViewInfo(vaultName, number));
|
PlayerVaults.getInstance().getInVault().put(player.getUniqueId().toString(), new VaultViewInfo(vaultName, number));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user