remove likely useless code breaking buildSkipBlocks
This commit is contained in:
parent
7988274d61
commit
dba186347c
@ -44,8 +44,6 @@ public class FillSchematic extends AbstractSchematic {
|
|||||||
public IBlockState desiredState(int x, int y, int z, IBlockState current, List<IBlockState> approxPlaceable) {
|
public IBlockState desiredState(int x, int y, int z, IBlockState current, List<IBlockState> approxPlaceable) {
|
||||||
if (bom.matches(current)) {
|
if (bom.matches(current)) {
|
||||||
return current;
|
return current;
|
||||||
} else if (current.getBlock() != Blocks.AIR) {
|
|
||||||
return Blocks.AIR.getDefaultState();
|
|
||||||
}
|
}
|
||||||
for (IBlockState placeable : approxPlaceable) {
|
for (IBlockState placeable : approxPlaceable) {
|
||||||
if (bom.matches(placeable)) {
|
if (bom.matches(placeable)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user