Link, wake up...

This commit is contained in:
CmdrKittens
2020-04-13 14:57:22 -04:00
parent db414a7d2f
commit 3925012a94
2 changed files with 10 additions and 0 deletions
@@ -131,6 +131,9 @@ public class VaultOperations {
if (isLocked()) {
return false;
}
if (player.isSleeping() || player.isDead() || !player.isOnline()) {
return false;
}
int number;
try {
number = Integer.parseInt(arg);
@@ -202,6 +205,10 @@ public class VaultOperations {
return false;
}
if (player.isSleeping() || player.isDead() || !player.isOnline()) {
return false;
}
long time = System.currentTimeMillis();
int number = 0;