From d1e2e9f345ef3e96a6d90facdf623d8a5cc809c2 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 28 Dec 2017 18:27:19 +0000 Subject: [PATCH] Prevent teleport in instance with admin teleport. --- .../scripts/handlers/admincommandhandlers/AdminTeleport.java | 2 +- .../scripts/handlers/admincommandhandlers/AdminTeleport.java | 2 +- .../scripts/handlers/admincommandhandlers/AdminTeleport.java | 2 +- .../scripts/handlers/admincommandhandlers/AdminTeleport.java | 2 +- .../scripts/handlers/admincommandhandlers/AdminTeleport.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java index 3f807d137a..a088b5f7f0 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java @@ -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) diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java index 3f807d137a..a088b5f7f0 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java @@ -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) diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java index 3f807d137a..a088b5f7f0 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java @@ -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) diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java index 3f807d137a..a088b5f7f0 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java @@ -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) diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java index 3f807d137a..a088b5f7f0 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminTeleport.java @@ -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)