Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -14,7 +14,7 @@ public:
|
||||
bool blocksLight() { return false; }
|
||||
bool isSolidRender(bool isServerLevel = false) { return false; }
|
||||
bool isCubeShaped() { return false; }
|
||||
void updateShape(ChunkRebuildData *level, int x, int y, int z, int forceData = -1, TileEntity* forceEntity = nullptr) // 4J added forceData, forceEntity param
|
||||
void updateShape(ChunkRebuildData *level, int x, int y, int z, int forceData = -1, TileEntity* forceEntity = NULL) // 4J added forceData, forceEntity param
|
||||
{
|
||||
int height = level->getData(x, y, z) & HEIGHT_MASK;
|
||||
float o = 2 * (1 + height) / 16.0f;
|
||||
|
||||
Reference in New Issue
Block a user