diff options
author | andrew <xdotftw@gmail.com> | 2014-03-01 20:34:19 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-03-01 20:34:19 +0100 |
commit | d73cdba1f66a92f011ac881b581595c0959139ef (patch) | |
tree | a5c62bbc0cf7c52727e96e348a5978698c6c7a5d /src/Entities/Player.cpp | |
parent | Refactored global block property arrays (diff) | |
download | cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.gz cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.bz2 cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.lz cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.xz cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.zst cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 8f94f1feb..42ee14cf3 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1904,7 +1904,7 @@ void cPlayer::Detach() { for (int z = PosZ - 2; z <= (PosZ + 2); ++z) { - if (!g_BlockIsSolid[m_World->GetBlock(x, y, z)] && g_BlockIsSolid[m_World->GetBlock(x, y - 1, z)]) + if (!cBlockInfo::IsSolid(m_World->GetBlock(x, y, z)) && cBlockInfo::IsSolid(m_World->GetBlock(x, y - 1, z))) { TeleportToCoords(x, y, z); return; |