Dragon target cancel fix

This commit is contained in:
Chiss 2014-08-14 12:35:49 +10:00
parent 5f80d9c57a
commit c72f4b6057

View File

@ -91,7 +91,8 @@ public class Dragon extends DragonMount
@EventHandler
public void DragonTargetCancel(EntityTargetEvent event)
{
event.setCancelled(true);
if (GetActive().containsValue(event.getEntity()))
event.setCancelled(true);
}
public void SetName(String news)