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
Failed to generate hash of commit

View file

@ -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;