Made all block fields final
This commit is contained in:
parent
f244f2c053
commit
537ccc092c
25 changed files with 242 additions and 254 deletions
|
@ -88,7 +88,7 @@ public class TileSpectralBlock extends TileTicking
|
|||
if (world.isAirBlock(blockPos))
|
||||
return;
|
||||
IBlockState cachedState = world.getBlockState(blockPos);
|
||||
world.setBlockState(blockPos, ModBlocks.spectralBlock.getDefaultState());
|
||||
world.setBlockState(blockPos, ModBlocks.SPECTRAL_BLOCK.getDefaultState());
|
||||
TileSpectralBlock tile = (TileSpectralBlock) world.getTileEntity(blockPos);
|
||||
tile.setContainedBlockInfo(cachedState);
|
||||
tile.setDuration(duration);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue