From 5d4192bbcfe0ee99a2c5ccbcf118bdf97abfaa12 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 16 Oct 2023 19:56:08 -0500 Subject: [PATCH] add offset for runegate teleport regions --- src/engine/objects/Portal.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Portal.java b/src/engine/objects/Portal.java index f285f45a..2601dc5a 100644 --- a/src/engine/objects/Portal.java +++ b/src/engine/objects/Portal.java @@ -3,6 +3,7 @@ package engine.objects; import engine.Enum; import engine.Enum.PortalType; import engine.InterestManagement.WorldGrid; +import engine.gameManager.BuildingManager; import engine.gameManager.ConfigManager; import engine.job.JobScheduler; import engine.jobs.CloseGateJob; @@ -104,7 +105,7 @@ public class Portal { if (player.getTimeStamp("lastMoveGate") < this.lastActive) return; - player.teleport(targetGate.getLoc()); + player.teleport(targetGate.getLoc().add(0,6,0));//offset height of runegate player.setSafeMode(); }