Scripts/Areatriggers: Fixed all areatrigger scripts triggering both on enter and exit instead of only on enter
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2456ff319b2145457da01ec78844fdc32d8713b)
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Scripts.Smart
|
||||
{
|
||||
public SmartTrigger() : base("SmartTrigger") { }
|
||||
|
||||
public override bool OnTrigger(Player player, AreaTriggerRecord trigger, bool entered)
|
||||
public override bool OnTrigger(Player player, AreaTriggerRecord trigger)
|
||||
{
|
||||
if (!player.IsAlive())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user