mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-12 19:43:29 +01:00
Merge pull request #6929 from EliteTK/fix-invisible-elevator-doors
Fix #5417
This commit is contained in:
commit
7c2a40e8c7
1 changed files with 3 additions and 1 deletions
|
@ -1386,6 +1386,9 @@ public abstract class Contraption {
|
|||
|
||||
private void gatherBBsOffThread() {
|
||||
getContraptionWorld();
|
||||
if (simplifiedEntityColliderProvider != null) {
|
||||
simplifiedEntityColliderProvider.cancel(false);
|
||||
}
|
||||
simplifiedEntityColliderProvider = CompletableFuture.supplyAsync(() -> {
|
||||
VoxelShape combinedShape = Shapes.empty();
|
||||
for (Entry<BlockPos, StructureBlockInfo> entry : blocks.entrySet()) {
|
||||
|
@ -1402,7 +1405,6 @@ public abstract class Contraption {
|
|||
})
|
||||
.thenAccept(r -> {
|
||||
simplifiedEntityColliders = Optional.of(r);
|
||||
simplifiedEntityColliderProvider = null;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue