mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-25 22:46:42 +01:00
Merge pull request #6813 from cakeGit/patch-4-Ghost-Schematic
Fix to issue #6784, with schematic renderers not deactivating
This commit is contained in:
commit
6d849bbd40
1 changed files with 3 additions and 1 deletions
|
@ -114,8 +114,10 @@ public class SchematicHandler {
|
||||||
|
|
||||||
if (!active || !stack.getTag()
|
if (!active || !stack.getTag()
|
||||||
.getString("File")
|
.getString("File")
|
||||||
.equals(displayedSchematic))
|
.equals(displayedSchematic)) {
|
||||||
|
renderers.forEach(r -> r.setActive(false));
|
||||||
init(player, stack);
|
init(player, stack);
|
||||||
|
}
|
||||||
if (!active)
|
if (!active)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue