RanvierMUD / core

Core engine code for Ranvier
https://ranviermud.com
MIT License
45 stars 41 forks source link

EffectFactory fixes #105

Open Sakeran opened 5 years ago

Sakeran commented 5 years ago

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 commented 5 years ago

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.