forked from MagicBane/Server
add offset for runegate teleport regions
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user