mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-14 18:10:05 +00:00
Fixes #1167
This commit is contained in:
parent
c3b7302108
commit
0b7fbcde53
@ -323,8 +323,9 @@ public class TurtleBrain implements ITurtleAccess
|
||||
|
||||
try
|
||||
{
|
||||
// Create a new turtle
|
||||
if( world.setBlock( pos, newState, 0 ) )
|
||||
// We use Block.UPDATE_CLIENTS here to ensure that neighbour updates caused in Block.updateNeighbourShapes
|
||||
// are sent to the client. We want to avoid doing a full block update until the turtle state is copied over.
|
||||
if( world.setBlock( pos, newState, 2 ) )
|
||||
{
|
||||
Block block = world.getBlockState( pos ).getBlock();
|
||||
if( block == oldBlock.getBlock() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user