Hotfix PrepareSchem not copying allowReplay and replaceColor while creating a prepared schem
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-05-07 14:37:00 +02:00
parent 2c644eef26
commit a4eea298d2

View File

@@ -86,7 +86,10 @@ public class PrepareSchem implements Listener {
if(schemExists(schem))
return;
SchematicNode old = schem;
schem = SchematicNode.createSchematicNode(schem.getOwner(), preparedName(schem), schem.getParent(), Config.SchematicType.checkType().toDB(), schem.getItem());
schem.setReplaceColor(old.replaceColor());
schem.setAllowReplay(old.allowReplay());
try{
WorldeditWrapper.impl.saveSchem(schem, region, minY);