Core/Refactor: Part 2

This commit is contained in:
hondacrx
2018-05-07 22:07:35 -04:00
parent 216db1c23a
commit 9b40067017
93 changed files with 321 additions and 388 deletions
+2 -2
View File
@@ -741,7 +741,7 @@ namespace Scripts.World.NpcSpecial
{
List<Creature> targets = new List<Creature>();
me.GetCreatureListWithEntryInGrid(targets, CreatureIds.TorchTossingTargetBunny, 60.0f);
targets.RemoveAll(creature => { return creature.GetGUID() == lastTargetGUID; });
targets.RemoveAll(creature => creature.GetGUID() == lastTargetGUID);
if (!targets.Empty())
{
@@ -788,7 +788,7 @@ namespace Scripts.World.NpcSpecial
{
Initialize();
_scheduler.SetValidator(() => { return running; });
_scheduler.SetValidator(() => running);
_scheduler.Schedule(TimeSpan.FromMilliseconds(1), task =>
{