ChatWorld should check if receiving player is blocking.
Thanks to Enryu.
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/chathandlers/ChatWorld.java
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -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