Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not crash with tenplus1's hopper mod
There are multiple hopper mods and not all of them support the set_extra_container_info function, so the mod crashes now if it is used together with an incompatible hopper mod. To prevent the crash, execute the code for hopper compatibility if hopper and hopper.set_extra_container_info exist and not if a mod named hopper is installed.
- Loading branch information