diff --git a/Config/MovementDefinitionFactory.cs b/Config/MovementDefinitionFactory.cs index 9ac619d..1391564 100644 --- a/Config/MovementDefinitionFactory.cs +++ b/Config/MovementDefinitionFactory.cs @@ -21,7 +21,7 @@ namespace Syntriax.Modules.Movement.Config { get { - if (_definitions == null) + if (!IsInitialized) Initialize(); return _definitions; diff --git a/Config/MovementFactory.cs b/Config/MovementFactory.cs index 0faf474..71e5120 100644 --- a/Config/MovementFactory.cs +++ b/Config/MovementFactory.cs @@ -16,7 +16,7 @@ namespace Syntriax.Modules.Movement.Config { get { - if (_types == null) + if (!IsInitialized) Initialize(); return _types;