This commit is contained in:
gnembon committed 2019-11-09 23:51:53 -04:00
1 parent d212fcb03d
commit 0021aa4a20
3 files changed
+6 -6

No files matched your search

@@ -358,7 +358,7 @@ public class BlockRotator
if (newState != null)
{
world.setBlockState(pos, newState, 2 | 1024);
world.scheduleBlockRender(pos, state, newState);
world.checkBlockRerender(pos, state, newState);
return true;
}
return false;
@@ -43,7 +43,7 @@ public abstract class World_movableTEMixin implements WorldInterface
public abstract ChunkManager getChunkManager();
@Shadow
public abstract void scheduleBlockRender(BlockPos blockPos_1, BlockState s1, BlockState s2);
public abstract void checkBlockRerender(BlockPos blockPos_1, BlockState s1, BlockState s2);
@Shadow
public abstract void updateListeners(BlockPos var1, BlockState var2, BlockState var3, int var4);
@@ -103,7 +103,7 @@ public abstract class World_movableTEMixin implements WorldInterface
{
if (blockState_2 != blockState_3)
{
this.scheduleBlockRender(blockPos_1, blockState_2, blockState_3);
this.checkBlockRerender(blockPos_1, blockState_2, blockState_3);
}
if ((int_1 & 2) != 0 && (!this.isClient || (int_1 & 4) == 0) && (this.isClient || worldChunk_1.getLevelType() != null && worldChunk_1.getLevelType().isAfter(ChunkHolder.LevelType.TICKING)))