mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-14 22:53:43 +01:00
Use task engine/sync to update instances
This commit is contained in:
parent
3e01d3f441
commit
94a160699c
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ import javax.annotation.Nullable;
|
|||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
import com.jozufozu.flywheel.api.MaterialManager;
|
||||
import com.jozufozu.flywheel.backend.instancing.ImmediateExecutor;
|
||||
import com.jozufozu.flywheel.backend.instancing.tile.TileInstanceManager;
|
||||
import com.simibubi.create.AllMovementBehaviours;
|
||||
import com.simibubi.create.content.contraptions.components.structureMovement.MovementBehaviour;
|
||||
|
@ -24,7 +25,7 @@ public class ContraptionInstanceManager extends TileInstanceManager {
|
|||
private final WeakReference<RenderedContraption> contraption;
|
||||
|
||||
ContraptionInstanceManager(RenderedContraption contraption, MaterialManager materialManager) {
|
||||
super(materialManager);
|
||||
super(ImmediateExecutor.INSTANCE, materialManager);
|
||||
this.contraption = new WeakReference<>(contraption);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue