This commit is contained in:
Super_
2020-01-03 21:42:23 -05:00
parent 52269c2122
commit 3ea73f78e9
3 changed files with 19 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class Command_lockup extends FreedomCommand
if (lockupScheduleId != null)
{
lockupScheduleId.cancel();
playerdata.setLockedUp(false);
playerdata.setLockupScheduleId(null);
}
}
@ -107,6 +108,7 @@ public class Command_lockup extends FreedomCommand
cancelLockup(playerdata);
playerdata.setLockedUp(true);
playerdata.setLockupScheduleId(new BukkitRunnable()
{
@Override