Core/Errors: Stop using System.Diagnostics.Contracts, Its just closing the server without error or warning. We now log the error and then throw a exception
This commit is contained in:
@@ -278,6 +278,7 @@ namespace Game.Movement
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void LoadPath(Creature creature)
|
||||
{
|
||||
if (loadedFromDB)
|
||||
@@ -298,6 +299,7 @@ namespace Game.Movement
|
||||
if (!Stopped())
|
||||
StartMoveNow(creature);
|
||||
}
|
||||
|
||||
void OnArrived(Creature creature)
|
||||
{
|
||||
if (path == null || path.nodes.Empty())
|
||||
|
||||
Reference in New Issue
Block a user