Skip to content

Commit

Permalink
Skip neighboring block updates when returning phased blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ssblur committed Nov 20, 2024
1 parent 6bd3cd0 commit 6a4c70b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public PhasedBlockBlockEntity(BlockPos blockPos, BlockState blockState) {
public void tick() {
countdown--;
if(countdown <= 0 && level != null) {
level.setBlockAndUpdate(getBlockPos(), blockState);
level.setBlock(getBlockPos(), blockState, 22);
if(data != null && !level.isClientSide) {
var entity = BlockEntity.loadStatic(getBlockPos(), blockState, data, level.registryAccess());
if(entity != null)
Expand Down

0 comments on commit 6a4c70b

Please sign in to comment.