summaryrefslogtreecommitdiffstats
path: root/source/Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Plugin.cpp')
-rw-r--r--source/Plugin.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/source/Plugin.cpp b/source/Plugin.cpp
index 736460e87..968f8c1f6 100644
--- a/source/Plugin.cpp
+++ b/source/Plugin.cpp
@@ -4,6 +4,7 @@
#include "Plugin.h"
#include "Pawn.h"
#include "Player.h"
+#include "World.h"
@@ -502,7 +503,7 @@ bool cPlugin::OnUpdatingSign(cWorld * a_World, int a_BlockX, int a_BlockY, int a
-bool cPlugin::OnWeatherChanged(cWorld * a_World)
+bool cPlugin::OnWeatherChanged(cWorld & a_World)
{
UNUSED(a_World);
return false;
@@ -512,6 +513,17 @@ bool cPlugin::OnWeatherChanged(cWorld * a_World)
+bool cPlugin::OnWeatherChanging(cWorld & a_World, eWeather & a_Weather)
+{
+ UNUSED(a_World);
+ UNUSED(a_Weather);
+ return false;
+}
+
+
+
+
+
bool cPlugin::HandleCommand(const AStringVector & a_Split, cPlayer * a_Player)
{
UNUSED(a_Split);