Update #26 - Fixed sponge blocks

This commit is contained in:
lax1dude
2024-03-06 18:43:12 -08:00
parent b8ce123807
commit 0f86f71cfd
3 changed files with 6 additions and 11 deletions

View File

@ -18,18 +18,13 @@
~ ArrayList<BlockPos> arraylist = Lists.newArrayList();
> INSERT 3 : 4 @ 3
+ BlockPos tmp = new BlockPos(0, 0, 0);
> CHANGE 5 : 9 @ 5 : 7
> CHANGE 8 : 11 @ 8 : 9
~ EnumFacing[] facings = EnumFacing._VALUES;
~ for (int k = 0; k < facings.length; ++k) {
~ EnumFacing enumfacing = facings[k];
~ BlockPos blockpos1 = blockpos.offsetEvenFaster(enumfacing, tmp);
> CHANGE 15 : 17 @ 15 : 17
> CHANGE 16 : 18 @ 16 : 18
~ for (int j = 0, l = arraylist.size(); j < l; ++j) {
~ worldIn.notifyNeighborsOfStateChange(arraylist.get(j), Blocks.air);