Ensure that air blocks always have data = 0.

This commit is contained in:
sk89q 2014-04-03 19:15:34 -07:00
parent 8e2fc8b0d4
commit 71ee350172

View File

@ -60,6 +60,10 @@ public class DataValidatorExtent extends AbstractDelegateExtent {
return false;
}
if (type == 0) {
block.setData(0);
}
return super.setBlock(location, block);
}
}