Fix setBlock

This commit is contained in:
ckcz123 committed 2020-05-31 13:46:23 +08:00
1 parent 753bd92cc1
commit d6a3f119be
1 file changed
+1
+1
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;