[Fix] BlockFixer does not recognize budding smaragdant (#123)
This commit is contained in:
parent
d987a03b41
commit
78486cf3c1
1 changed files with 2 additions and 2 deletions
|
@ -85,11 +85,11 @@ public class BlockFixer {
|
|||
break;
|
||||
}
|
||||
}
|
||||
} else if (state.is(EndBlocks.SMARAGDANT_CRYSTAL)) {
|
||||
} else if (state.is(EndBlocks.SMARAGDANT_CRYSTAL) || state.is(EndBlocks.BUDDING_SMARAGDANT_CRYSTAL)) {
|
||||
POS.setY(POS.getY() - 1);
|
||||
if (level.isEmptyBlock(POS)) {
|
||||
POS.setY(POS.getY() + 1);
|
||||
while (state.is(EndBlocks.SMARAGDANT_CRYSTAL)) {
|
||||
while (state.is(EndBlocks.SMARAGDANT_CRYSTAL) || state.is(EndBlocks.BUDDING_SMARAGDANT_CRYSTAL)) {
|
||||
setWithoutUpdate(level, POS, AIR);
|
||||
POS.setY(POS.getY() + 1);
|
||||
state = level.getBlockState(POS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue