PHP extension in C++ implementing performance-sensitive parts of the PocketMine-MP chunk system
LGPL-3.0 License
Bot releases are visible (Hide)
PalettedBlockArray::fromData()
.Published by dktapps over 1 year ago
LightArray::isUniform()
incorrectly returning false for arrays which were uniform with a non-zero value.PalettedBlockArray::getPalette()
.Published by dktapps about 2 years ago
PalettedBlockArray
s.PalettedBlockArray::get()
PalettedBlockArray::set()
LightArray::get()
LightArray::set()
Published by dktapps over 2 years ago
PalettedBlockArray::fromData()
now performs validation of the provided offset table (words) to ensure that no offset value points to an uninitialized or invalid palette offset. This was mainly a problem with corrupted data loaded from disk, where the palette for a block array was truncated for some reason.
Published by dktapps about 3 years ago
Published by dktapps about 3 years ago
LightArray->isUniform()
, which tells if the light array only contains the given unique value.SubChunkConverter::convertFromLegacyColumn()
not checking bounds of the yOffset
parameter.