Fixes build. Scripts are still being updated.

This commit is contained in:
hondacrx
2024-01-24 12:02:23 -05:00
parent 1c6563718e
commit 6f4b7ddd9d
51 changed files with 268 additions and 268 deletions
@@ -93,7 +93,7 @@ namespace Scripts.EasternKingdoms.Gnomeregan
public override void OnUnitDeath(Unit unit)
{
Creature creature = unit.ToCreature();
if (creature)
if (creature != null)
switch (creature.GetEntry())
{
case GNOCreatureIds.ViciousFallout: