OnAttackableKill should trigger when killer is a player symbol or trap.
Contributed by Sahar.
This commit is contained in:
		| @@ -296,7 +296,7 @@ public class Attackable extends Npc | ||||
| 			return false; | ||||
| 		} | ||||
| 		 | ||||
| 		if ((killer != null) && killer.isPlayable()) | ||||
| 		if ((killer != null) && (killer.getActingPlayer() != null)) | ||||
| 		{ | ||||
| 			// Delayed notification | ||||
| 			EventDispatcher.getInstance().notifyEventAsync(new OnAttackableKill(killer.getActingPlayer(), this, killer.isSummon()), this); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment