Fix end portal obsidian platform generation (#529)

This commit is contained in:
IzzelAliz 2022-04-16 11:03:49 +08:00
parent bec5c83d35
commit da0a382beb
No known key found for this signature in database
GPG Key ID: EE50E123A11D8338

View File

@ -442,7 +442,7 @@ public abstract class ServerLevelMixin extends LevelMixin implements ServerWorld
int k = blockpos.getZ();
BlockStateListPopulator blockList = new BlockStateListPopulator(world);
BlockPos.betweenClosed(i - 2, j + 1, k - 2, i + 2, j + 3, k + 2).forEach((pos) -> {
blockList.setBlock(pos, Blocks.OBSIDIAN.defaultBlockState(), 3);
blockList.setBlock(pos, Blocks.AIR.defaultBlockState(), 3);
});
BlockPos.betweenClosed(i - 2, j, k - 2, i + 2, j, k + 2).forEach((pos) -> {
blockList.setBlock(pos, Blocks.OBSIDIAN.defaultBlockState(), 3);