Skip to content

Commit

Permalink
🚧 fixed connected blocks not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
PriestOfFerns committed Feb 19, 2024
1 parent b1ea6a4 commit 6980aed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ object GameUtility {
fun triggerUpdate(level: Level, pos: BlockPos?) {
val chunk = level.getChunkAt(pos)
level.sendBlockUpdated (pos, level.getBlockState(pos), level.getBlockState(pos), 3) //markAndNotifyBlock(pos, chunk, level.getBlockState(pos), level.getBlockState(pos), 3, 512)
level.updateNeighborsAt(pos,level.getBlockState(pos).block)
}


Expand Down

0 comments on commit 6980aed

Please sign in to comment.