Fix setBlock

This commit is contained in:
ckcz123 2020-05-31 13:46:23 +08:00
parent 753bd92cc1
commit d6a3f119be

View File

@ -1595,6 +1595,7 @@ maps.prototype.setBlock = function (number, x, y, floorId) {
if (originBlock == null) {
core.status.maps[floorId].blocks.push(block);
core.setFlag([floorId, x, y, 'md'].join('@'), false);
delete block.disable;
}
else {
originBlock.block.id = number;