|
|
@ -3,6 +3,7 @@ package engine.objects; |
|
|
|
import engine.Enum; |
|
|
|
import engine.Enum; |
|
|
|
import engine.Enum.PortalType; |
|
|
|
import engine.Enum.PortalType; |
|
|
|
import engine.InterestManagement.WorldGrid; |
|
|
|
import engine.InterestManagement.WorldGrid; |
|
|
|
|
|
|
|
import engine.gameManager.BuildingManager; |
|
|
|
import engine.gameManager.ConfigManager; |
|
|
|
import engine.gameManager.ConfigManager; |
|
|
|
import engine.job.JobScheduler; |
|
|
|
import engine.job.JobScheduler; |
|
|
|
import engine.jobs.CloseGateJob; |
|
|
|
import engine.jobs.CloseGateJob; |
|
|
@ -104,7 +105,7 @@ public class Portal { |
|
|
|
if (player.getTimeStamp("lastMoveGate") < this.lastActive) |
|
|
|
if (player.getTimeStamp("lastMoveGate") < this.lastActive) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
player.teleport(targetGate.getLoc()); |
|
|
|
player.teleport(targetGate.getLoc().add(0,6,0));//offset height of runegate
|
|
|
|
player.setSafeMode(); |
|
|
|
player.setSafeMode(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|