ChatWorld should check if receiving player is blocking.
Thanks to Enryu.
This commit is contained in:
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -100,7 +100,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -121,7 +121,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -115,7 +115,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -125,7 +125,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -136,7 +136,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -115,7 +115,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -125,7 +125,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -136,7 +136,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
@@ -115,7 +115,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllGoodPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -125,7 +125,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getAllEvilPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
@@ -136,7 +136,7 @@ public class ChatWorld implements IChatHandler
|
||||
{
|
||||
for (Player player : World.getInstance().getPlayers())
|
||||
{
|
||||
if (player.isNotBlocked(activeChar))
|
||||
if (activeChar.isNotBlocked(player))
|
||||
{
|
||||
player.sendPacket(cs);
|
||||
}
|
||||
|
Reference in New Issue
Block a user