Prevent teleport in instance with admin teleport.

This commit is contained in:
MobiusDev
2017-12-28 18:27:19 +00:00
parent b6506f4486
commit d1e2e9f345
5 changed files with 5 additions and 5 deletions

View File

@@ -367,7 +367,7 @@ public class AdminTeleport implements IAdminCommandHandler
final int z = Integer.parseInt(st.nextToken());
activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
activeChar.teleToLocation(x, y, z);
activeChar.teleToLocation(x, y, z, null);
activeChar.sendMessage("You have been teleported to " + Coords);
}
catch (NoSuchElementException nsee)