diff options
author | Dico200 <dico.karssiens@gmail.com> | 2016-05-29 20:56:29 +0200 |
---|---|---|
committer | Dico200 <dico.karssiens@gmail.com> | 2016-05-29 20:56:29 +0200 |
commit | 5a757b7fb10a959c245d29b3eaddd69325f1ba55 (patch) | |
tree | 875b05041d88ccea99b6cc564bcd442842a27c43 /main.py | |
parent | e35fadc353f764a22d1d2c4b29463c81d091b36b (diff) |
Removed @hook.enable decs from modules, added them to the on_enable() method of main.py.
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -19,12 +19,17 @@ except: @hook.enable def on_enable(): + if "blockplacemods" in shared["modules"]: + shared["modules"]["blockplacemods"].schedule_torch_breaker() + if "imbusy" in shared["modules"]: + shared["modules"]["imbusy"].replace_ess_commands() info("RedstonerUtils enabled!") @hook.disable def on_disable(): - shared["modules"]["reports"].stop_reporting() + if "reports" in shared["modules"]: + shared["modules"]["reports"].stop_reporting() info("RedstonerUtils disabled!") |