mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Use the level and pos variable
This commit is contained in:
parent
73f7af4dbf
commit
323c07568d
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ public class TileEntityPoweredFurnace extends TileEntityInventoryBase implements
|
|||
}
|
||||
|
||||
if (changeTo != current) {
|
||||
tile.level.setBlock(tile.worldPosition, state.setValue(BlockStateProperties.LIT, changeTo), Block.UPDATE_ALL);
|
||||
level.setBlock(pos, state.setValue(BlockStateProperties.LIT, changeTo), Block.UPDATE_ALL);
|
||||
}
|
||||
|
||||
tile.lastSmelted = smelted;
|
||||
|
|
Loading…
Reference in a new issue