Ensure that air blocks always have data = 0.
This commit is contained in:
@@ -60,6 +60,10 @@ public class DataValidatorExtent extends AbstractDelegateExtent {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (type == 0) {
|
||||||
|
block.setData(0);
|
||||||
|
}
|
||||||
|
|
||||||
return super.setBlock(location, block);
|
return super.setBlock(location, block);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user