diff options
author | Mattes D <github@xoft.cz> | 2017-02-05 16:00:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-05 16:00:38 +0100 |
commit | cbff1378fd78b6eaa59bad21759c8b89f1dab341 (patch) | |
tree | d992f37f36a15ff110d9d3e37df2426407522f54 /src/BlockEntities/BeaconEntity.cpp | |
parent | Merge pull request #3565 from cuberite/luacheck (diff) | |
download | cuberite-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 'src/BlockEntities/BeaconEntity.cpp')
-rw-r--r-- | src/BlockEntities/BeaconEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/BeaconEntity.cpp b/src/BlockEntities/BeaconEntity.cpp index f2b38ac50..c158db53b 100644 --- a/src/BlockEntities/BeaconEntity.cpp +++ b/src/BlockEntities/BeaconEntity.cpp @@ -32,7 +32,7 @@ char cBeaconEntity::CalculatePyramidLevel(void) int MaxY = std::max(GetPosY() - 1, 0); Area.Read( - m_World, + *m_World, GetPosX() - 4, GetPosX() + 4, MinY, MaxY, GetPosZ() - 4, GetPosZ() + 4, |