summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-02-05 16:00:38 +0100
committerGitHub <noreply@github.com>2017-02-05 16:00:38 +0100
commitcbff1378fd78b6eaa59bad21759c8b89f1dab341 (patch)
treed992f37f36a15ff110d9d3e37df2426407522f54 /src/Mobs
parentMerge pull request #3565 from cuberite/luacheck (diff)
downloadcuberite-cbff1378fd78b6eaa59bad21759c8b89f1dab341.tar
cuberite-cbff1378fd78b6eaa59bad21759c8b89f1dab341.tar.gz
cuberite-cbff1378fd78b6eaa59bad21759c8b89f1dab341.tar.bz2
cuberite-cbff1378fd78b6eaa59bad21759c8b89f1dab341.tar.lz
cuberite-cbff1378fd78b6eaa59bad21759c8b89f1dab341.tar.xz
cuberite-cbff1378fd78b6eaa59bad21759c8b89f1dab341.tar.zst
cuberite-cbff1378fd78b6eaa59bad21759c8b89f1dab341.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Villager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Villager.cpp b/src/Mobs/Villager.cpp
index 4e762a55a..d4a7a8c3d 100644
--- a/src/Mobs/Villager.cpp
+++ b/src/Mobs/Villager.cpp
@@ -121,7 +121,7 @@ void cVillager::HandleFarmerPrepareFarmCrops()
// Read a 11x7x11 area:
Surrounding.Read(
- m_World,
+ *m_World,
FloorC(GetPosX()) - 5,
FloorC(GetPosX()) + 6,
FloorC(GetPosY()) - 3,