I broke the weather

On a clean install, I did “load weather” and happily broke something.

All the weather commands (weather, weather/set) and the “look” commands return the appropriate version of:

%% Sorry! The code lost its mind while executing a command. Not your fault.
Please send this error information to the admins and tell them what you were doing at the time:
Description: “weather”
Error: “undefined method `each’ for nil:NilClass”

It all goes back to functioning happily if I disable the weather plugin.

1 Like

Thanks for the bug report. Will be fixed in the next patch. In the mean time - as you noted, you can disable the weather plugin or add the following method to the Weather module in aresmush/plugins/weather/weather.rb

def self.init_plugin
  Weather.current_weather = {}
  Weather.change_all_weathers
end
1 Like

Beautiful. Worked like a charm.

Thanks!