Do not broadcast user info when teleporting out of peace zone.

This commit is contained in:
MobiusDevelopment 2019-09-08 21:30:50 +00:00
parent d97b098951
commit 5bb1d54a9a
5 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ public class PeaceZone extends ZoneType
}
// Send player info to nearby players.
if (creature.isPlayer())
if (creature.isPlayer() && !creature.isTeleporting())
{
creature.broadcastInfo();
}

View File

@ -85,7 +85,7 @@ public class PeaceZone extends ZoneType
}
// Send player info to nearby players.
if (creature.isPlayer())
if (creature.isPlayer() && !creature.isTeleporting())
{
creature.broadcastInfo();
}

View File

@ -85,7 +85,7 @@ public class PeaceZone extends ZoneType
}
// Send player info to nearby players.
if (creature.isPlayer())
if (creature.isPlayer() && !creature.isTeleporting())
{
creature.broadcastInfo();
}

View File

@ -85,7 +85,7 @@ public class PeaceZone extends ZoneType
}
// Send player info to nearby players.
if (creature.isPlayer())
if (creature.isPlayer() && !creature.isTeleporting())
{
creature.broadcastInfo();
}

View File

@ -85,7 +85,7 @@ public class PeaceZone extends ZoneType
}
// Send player info to nearby players.
if (creature.isPlayer())
if (creature.isPlayer() && !creature.isTeleporting())
{
creature.broadcastInfo();
}