Skip to content

Comments

EffectFactory fixes#105

Open
Sakeran wants to merge 3 commits intoRanvierMUD:masterfrom
Sakeran:effect-factory-fixes
Open

EffectFactory fixes#105
Sakeran wants to merge 3 commits intoRanvierMUD:masterfrom
Sakeran:effect-factory-fixes

Conversation

@Sakeran
Copy link
Contributor

@Sakeran Sakeran commented Sep 26, 2019

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 on AttributeFactory#has

@Sakeran
Copy link
Contributor Author

Sakeran commented Sep 26, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant