summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorLane Kolbly <lane@rscheme.org>2017-08-25 11:56:01 +0200
committerAlexander Harkness <me@bearbin.net>2017-08-25 11:56:01 +0200
commit87c89a172782c5ea8e2114931bd48f9aa03543ce (patch)
tree6ddedb3ff20e4224d0c488ddabb5a7d22e71d2f8 /src/World.h
parentUse ref instead of pointer (diff)
downloadcuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar
cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.gz
cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.bz2
cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.lz
cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.xz
cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.tar.zst
cuberite-87c89a172782c5ea8e2114931bd48f9aa03543ce.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index ed3bf9919..451462582 100644
--- a/src/World.h
+++ b/src/World.h
@@ -548,7 +548,7 @@ public:
bool DoWithBeaconAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBeaconCallback & a_Callback); // Exported in ManualBindings.cpp
/** Calls the callback for the bed at the specified coords; returns false if there's no bed at those coords, true if found */
- bool DoWithBedAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBedCallback & a_Callback); // Exported in ManualBindings.cpp
+ virtual bool DoWithBedAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBedCallback & a_Callback) override; // Exported in ManualBindings.cpp
/** Calls the callback for the brewingstand at the specified coords; returns false if there's no brewingstand at those coords, true if found */
bool DoWithBrewingstandAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBrewingstandCallback & a_Callback); // Lua-acessible