chore: baseline subdate2 snapshot for AI refactoring

This commit is contained in:
SlaveOfMagicbot committed 2026-09-27 12:35:14 -05:00
commit 69aa91d403
827 files changed
+161223

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
// Magicbane Emulator Project © 2013 - 2022
// www.magicbane.com
package engine.jobs;
import engine.Enum;
import engine.Enum.PortalType;
import engine.job.AbstractScheduleJob;
import engine.objects.Building;
import engine.objects.Runegate;
import org.pmw.tinylog.Logger;
public class CloseGateJob extends AbstractScheduleJob {
private final Building building;
private final Enum.PortalType portalType;
public CloseGateJob(Building building, PortalType portalType) {
super();
this.building = building;
this.portalType = portalType;
}
@Override
protected void doJob() {
if (building == null) {
Logger.error("Rungate building was null");
return;
}
Runegate._runegates.get(building.getObjectUUID()).deactivatePortal(portalType);
}
@Override
protected void _cancelJob() {
}
}