1
0

Fixed bindings for cBlockArea:Read and Write. (#3568)

The original bindings accepted nil as the World param, causing a crash.
This commit is contained in:
Mattes D
2017-02-05 16:00:38 +01:00
committed by GitHub
parent 77f456fc98
commit cbff1378fd
10 changed files with 23 additions and 23 deletions

View File

@@ -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,