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); | ||||
| 					} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment