Removed redundant checks from ItemFactory::init() and BlockFactory::init()

These are never called accidentally, or at least it's highly unlikely to do so. It might be reasonable to throw exceptions for this, but for the meantime they are redundant - extra indentation for no good reason.

This also removes the $force parameter from BlockFactory::init().
This commit is contained in:
Dylan K. Taylor
2018-02-15 17:42:03 +00:00
parent 456987e212
commit af2435f199
3 changed files with 457 additions and 463 deletions