summaryrefslogtreecommitdiffstats
path: root/source/cWorld.cpp
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 14:24:39 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 14:24:39 +0200
commit0b29b3b3cf3dd1127e567343295f4df1f88664dc (patch)
tree702a2e6d771deac21d7d4c09379453508384549d /source/cWorld.cpp
parentMoved LuaFunctions.h into the Bindings section of the project (diff)
downloadcuberite-0b29b3b3cf3dd1127e567343295f4df1f88664dc.tar
cuberite-0b29b3b3cf3dd1127e567343295f4df1f88664dc.tar.gz
cuberite-0b29b3b3cf3dd1127e567343295f4df1f88664dc.tar.bz2
cuberite-0b29b3b3cf3dd1127e567343295f4df1f88664dc.tar.lz
cuberite-0b29b3b3cf3dd1127e567343295f4df1f88664dc.tar.xz
cuberite-0b29b3b3cf3dd1127e567343295f4df1f88664dc.tar.zst
cuberite-0b29b3b3cf3dd1127e567343295f4df1f88664dc.zip
Diffstat (limited to '')
-rw-r--r--source/cWorld.cpp3
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: