summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-10 21:29:06 +0200
committerMattes D <github@xoft.cz>2015-05-10 21:37:46 +0200
commitcbb1eff17a085f57472f67cbe3682232fb3a4aeb (patch)
tree5081f9c836e6f3419585980d42834b1eec944e67 /src/Bindings/PluginManager.h
parentMerge pull request #1977 from mc-server/warnings (diff)
downloadcuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.gz
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.bz2
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.lz
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.xz
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.tar.zst
cuberite-cbb1eff17a085f57472f67cbe3682232fb3a4aeb.zip
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r--src/Bindings/PluginManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index 994f19943..d72bd50a3 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -200,7 +200,7 @@ public:
bool CallHookDisconnect (cClientHandle & a_Client, const AString & a_Reason);
bool CallHookEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, double a_DistanceModifier);
bool CallHookEntityTeleport (cEntity & a_Entity, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition);
- bool CallHookExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split); // If a_Player == nullptr, it is a console cmd
+ bool CallHookExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split, const AString & a_EntireCommand); // If a_Player == nullptr, it is a console cmd
bool CallHookExploded (cWorld & a_World, double a_ExplosionSize, bool a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData);
bool CallHookExploding (cWorld & a_World, double & a_ExplosionSize, bool & a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData);
bool CallHookHandshake (cClientHandle & a_ClientHandle, const AString & a_Username);