diff options
Diffstat (limited to '')
-rw-r--r-- | source/cWorld.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index 41915926f..27f85bf90 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -41,6 +41,7 @@ #include "MersenneTwister.h"
#include "cTracer.h"
#include "Trees.h"
+#include "cPluginManager.h"
#include "packets/cPacket_TimeUpdate.h"
@@ -676,6 +677,8 @@ void cWorld::TickWeather(float a_Dt) {
ChangeWeather();
+ cRoot::Get()->GetPluginManager()->CallHook( cPluginManager::HOOK_WEATHER_CHANGE, 0 );
+
switch(GetWeather())
{
case eWeather_Sunny:
|