summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.cpp
diff options
context:
space:
mode:
authorLane Kolbly <lane@rscheme.org>2017-07-10 11:10:06 +0200
committerMattes D <github@xoft.cz>2017-07-10 11:10:06 +0200
commit67e4bbde0c72628cbc632b191312d393e561df0a (patch)
tree6afbe5f7b014e11fe864544623b6d17834d898e4 /src/BlockArea.cpp
parentSound effect horse rejects player when taming (diff)
downloadcuberite-67e4bbde0c72628cbc632b191312d393e561df0a.tar
cuberite-67e4bbde0c72628cbc632b191312d393e561df0a.tar.gz
cuberite-67e4bbde0c72628cbc632b191312d393e561df0a.tar.bz2
cuberite-67e4bbde0c72628cbc632b191312d393e561df0a.tar.lz
cuberite-67e4bbde0c72628cbc632b191312d393e561df0a.tar.xz
cuberite-67e4bbde0c72628cbc632b191312d393e561df0a.tar.zst
cuberite-67e4bbde0c72628cbc632b191312d393e561df0a.zip
Diffstat (limited to '')
-rw-r--r--src/BlockArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp
index cec113936..a17e5e8ef 100644
--- a/src/BlockArea.cpp
+++ b/src/BlockArea.cpp
@@ -2787,7 +2787,7 @@ void cBlockArea::RemoveNonMatchingBlockEntities(void)
cBlockArea::cChunkReader::cChunkReader(cBlockArea & a_Area) :
m_Area(a_Area),
- m_AreaBounds(cCuboid(a_Area.GetOrigin(), a_Area.GetOrigin() + a_Area.GetSize())),
+ m_AreaBounds(cCuboid(a_Area.GetOrigin(), a_Area.GetOrigin() + a_Area.GetSize() - Vector3i(1, 1, 1))),
m_Origin(a_Area.m_Origin.x, a_Area.m_Origin.y, a_Area.m_Origin.z),
m_CurrentChunkX(0),
m_CurrentChunkZ(0)