Core/Movement: Fixed a crash
This commit is contained in:
@@ -841,7 +841,7 @@ namespace Game.Entities
|
||||
public void UpdateMountCapability()
|
||||
{
|
||||
var mounts = GetAuraEffectsByType(AuraType.Mounted);
|
||||
foreach (AuraEffect aurEff in mounts)
|
||||
foreach (AuraEffect aurEff in mounts.ToArray())
|
||||
{
|
||||
aurEff.RecalculateAmount();
|
||||
if (aurEff.GetAmount() == 0)
|
||||
|
||||
Reference in New Issue
Block a user