Renames openTime to activatedTime, though it's kind of used for both opening and activation

This commit is contained in:
2021-10-20 20:57:00 +02:00
parent 2650e31d97
commit 4b42d4914a
3 changed files with 13 additions and 13 deletions

View File

@ -20,7 +20,7 @@ public class StarGateThread implements Runnable {
if (portal.getOptions().isAlwaysOn() || !portal.isOpen()) {
continue;
}
if (time > portal.getOpenTime() + Stargate.getOpenTime()) {
if (time > portal.getActivatedTime() + Stargate.getOpenTime()) {
portal.getPortalOpener().closePortal(false);
iterator.remove();
}
@ -31,7 +31,7 @@ public class StarGateThread implements Runnable {
if (!portal.getPortalActivator().isActive()) {
continue;
}
if (time > portal.getOpenTime() + Stargate.getActiveTime()) {
if (time > portal.getActivatedTime() + Stargate.getActiveTime()) {
portal.getPortalActivator().deactivate();
iterator.remove();
}