Properly deprecate more XYZ parameter'd functions (#5147)
* Fixes #5144
This commit is contained in:
@@ -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()))
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user