Added a "if(entity != null)" before the call to
UpdateEntityMovement() to try to preclude the occaisional System.NullReferenceException in scene.0.6.0-stable
parent
de11c09794
commit
aca872499f
|
@ -174,7 +174,9 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
foreach (EntityBase entity in moveEntities)
|
||||
{
|
||||
entity.UpdateMovement();
|
||||
if(entity != null)entity.UpdateMovement();
|
||||
//cfk. This throws occaisional exceptions on a heavily used region
|
||||
//and I added this null check to try to preclude the exception.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue