Open Sakeran opened 5 years ago
This fixes an issue where a missing reference in EffectFactory#get would cause the method to call itself infinitely.
EffectFactory#get
It also adds a docstring to EffectFactory#has, mirroring the one set on AttributeFactory#has
EffectFactory#has
AttributeFactory#has
Updated the return value of EffectFactory#get to return just the effect definition. Judging by the method's docstring, I'm assuming this is the intended behavior.
This fixes an issue where a missing reference in
EffectFactory#get
would cause the method to call itself infinitely.It also adds a docstring to
EffectFactory#has
, mirroring the one set onAttributeFactory#has