1.21.2-pre3
This commit is contained in:
1 parent
aa8ebc9c13
commit
9e75c36914
3 files changed
+4
-3
No files matched your search
@@ -72,6 +72,7 @@ public abstract class LevelChunk_movableBEMixin extends ChunkAccess implements W
|
||||
*/
|
||||
/* @Nullable */
|
||||
// todo update me to the new version
|
||||
@Override
|
||||
public BlockState setBlockStateWithBlockEntity(BlockPos blockPos_1, BlockState newBlockState, BlockEntity newBlockEntity,
|
||||
boolean boolean_1)
|
||||
{
|
||||
@@ -154,7 +155,7 @@ public abstract class LevelChunk_movableBEMixin extends ChunkAccess implements W
|
||||
newBlockState.onPlace(this.level, blockPos_1, oldBlockState, boolean_1); //This can call setblockstate! (e.g. hopper does)
|
||||
}
|
||||
|
||||
this.unsaved = true; // shouldSave
|
||||
markUnsaved();
|
||||
return oldBlockState;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1363,7 +1363,7 @@ public class WorldAccess
|
||||
{
|
||||
WorldTools.forceChunkUpdate(pos, world);
|
||||
}
|
||||
chunk.setUnsaved(true);
|
||||
chunk.markUnsaved();
|
||||
return Value.TRUE;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user