Fix saving tags of overwritten schematic (#5696)

This commit is contained in:
Arik 2021-08-04 06:27:01 -07:00 committed by GitHub
parent ee47bffb1c
commit 2f57705f13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,6 +114,7 @@ public class Schematics implements Loadable{
target.tiles.addAll(newSchematic.tiles);
target.width = newSchematic.width;
target.height = newSchematic.height;
newSchematic.labels = target.labels;
newSchematic.tags.putAll(target.tags);
newSchematic.file = target.file;