Merge pull request #6813 from cakeGit/patch-4-Ghost-Schematic

Fix to issue #6784, with schematic renderers not deactivating
This commit is contained in:
simibubi 2024-08-25 10:47:14 +02:00 committed by GitHub
commit 6d849bbd40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,8 +114,10 @@ public class SchematicHandler {
if (!active || !stack.getTag()
.getString("File")
.equals(displayedSchematic))
.equals(displayedSchematic)) {
renderers.forEach(r -> r.setActive(false));
init(player, stack);
}
if (!active)
return;