diff options
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/EnderChestEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/EnderChestEntity.cpp b/src/BlockEntities/EnderChestEntity.cpp index c5d490766..efc5dce4f 100644 --- a/src/BlockEntities/EnderChestEntity.cpp +++ b/src/BlockEntities/EnderChestEntity.cpp @@ -53,7 +53,7 @@ bool cEnderChestEntity::UsedBy(cPlayer * a_Player) if ( (GetPosY() < cChunkDef::Height - 1) && ( - !cBlockInfo::IsTransparent(GetWorld()->GetBlock(GetPosX(), GetPosY() + 1, GetPosZ())) || + !cBlockInfo::IsTransparent(GetWorld()->GetBlock(GetPos().addedY(1))) || !cOcelot::IsCatSittingOnBlock(GetWorld(), Vector3d(GetPos())) ) ) |