Exclude olympiad observers from not friend affect object types.
This commit is contained in:
		| @@ -84,6 +84,12 @@ public class NotFriend implements IAffectObjectHandler | ||||
| 				return false; | ||||
| 			} | ||||
| 			 | ||||
| 			// Olympiad observer. | ||||
| 			if (targetPlayer.inObserverMode()) | ||||
| 			{ | ||||
| 				return false; | ||||
| 			} | ||||
| 			 | ||||
| 			// Siege. | ||||
| 			if (target.isInsideZone(ZoneId.SIEGE)) | ||||
| 			{ | ||||
|   | ||||
| @@ -84,6 +84,12 @@ public class NotFriendPc implements IAffectObjectHandler | ||||
| 				return false; | ||||
| 			} | ||||
| 			 | ||||
| 			// Olympiad observer. | ||||
| 			if (targetPlayer.inObserverMode()) | ||||
| 			{ | ||||
| 				return false; | ||||
| 			} | ||||
| 			 | ||||
| 			// Siege. | ||||
| 			if (target.isInsideZone(ZoneId.SIEGE)) | ||||
| 			{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment