diff options
author | madmaxoft <github@xoft.cz> | 2013-08-02 08:44:06 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-02 08:44:06 +0200 |
commit | 3531bdb60b858a232f23bb8651b75afcd79e57e5 (patch) | |
tree | f4e5557421b2320a6ec817af967aab37e6fe0bbc /source/Plugin.cpp | |
parent | New players get full health (diff) | |
download | cuberite-3531bdb60b858a232f23bb8651b75afcd79e57e5.tar cuberite-3531bdb60b858a232f23bb8651b75afcd79e57e5.tar.gz cuberite-3531bdb60b858a232f23bb8651b75afcd79e57e5.tar.bz2 cuberite-3531bdb60b858a232f23bb8651b75afcd79e57e5.tar.lz cuberite-3531bdb60b858a232f23bb8651b75afcd79e57e5.tar.xz cuberite-3531bdb60b858a232f23bb8651b75afcd79e57e5.tar.zst cuberite-3531bdb60b858a232f23bb8651b75afcd79e57e5.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Plugin.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source/Plugin.cpp b/source/Plugin.cpp index 23757f492..20943b916 100644 --- a/source/Plugin.cpp +++ b/source/Plugin.cpp @@ -2,7 +2,6 @@ #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "Plugin.h" -// #include "Pawn.h" #include "Player.h" #include "World.h" #include "CommandOutput.h" @@ -342,6 +341,17 @@ bool cPlugin::OnPlayerRightClick(cPlayer & a_Player, int a_BlockX, int a_BlockY, +bool cPlugin::OnPlayerRightClickingEntity(cPlayer & a_Player, cEntity & a_Entity) +{ + UNUSED(a_Player); + UNUSED(a_Entity); + return false; +} + + + + + bool cPlugin::OnPlayerShooting(cPlayer & a_Player) { UNUSED(a_Player); |