forked from MagicBane/Server
system enabled
This commit is contained in:
@@ -96,7 +96,7 @@ public class TeleportPowerAction extends AbstractPowerAction {
|
||||
|
||||
//TODO verify target loc is valid loc
|
||||
|
||||
Regions region = Regions.GetRegionForTeleport(targetLoc);
|
||||
Regions region = Regions.getRegionAtLocation(targetLoc);
|
||||
|
||||
if (region != null && !region.isOutside())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user