forked from SteamWar/SteamWar
Hotfix PrepareSchem not copying allowReplay and replaceColor while creating a prepared schem
This commit is contained in:
@@ -86,7 +86,10 @@ public class PrepareSchem implements Listener {
|
|||||||
if(schemExists(schem))
|
if(schemExists(schem))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
SchematicNode old = schem;
|
||||||
schem = SchematicNode.createSchematicNode(schem.getOwner(), preparedName(schem), schem.getParent(), Config.SchematicType.checkType().toDB(), schem.getItem());
|
schem = SchematicNode.createSchematicNode(schem.getOwner(), preparedName(schem), schem.getParent(), Config.SchematicType.checkType().toDB(), schem.getItem());
|
||||||
|
schem.setReplaceColor(old.replaceColor());
|
||||||
|
schem.setAllowReplay(old.allowReplay());
|
||||||
|
|
||||||
try{
|
try{
|
||||||
WorldeditWrapper.impl.saveSchem(schem, region, minY);
|
WorldeditWrapper.impl.saveSchem(schem, region, minY);
|
||||||
|
|||||||
Reference in New Issue
Block a user