Minor Change
Made a minor change to DungeonSchematic so that it replaces foreign mod blocks with the standardized FoR ID on export. Previously it used the Forge-assigned ID, but since that happens after ID standardization, it could cause us to export non-standard IDs.
This commit is contained in:
@@ -144,8 +144,7 @@ public class DungeonSchematic extends Schematic {
|
||||
//Filter out mod blocks except some of our own
|
||||
//This comes after ID standardization because the mod block filter relies on standardized IDs
|
||||
standardizer.addFilter(new ModBlockFilter(MAX_VANILLA_BLOCK_ID, MOD_BLOCK_FILTER_EXCEPTIONS,
|
||||
(short) properties.FabricBlockID, (byte) 0));
|
||||
|
||||
STANDARD_FABRIC_OF_REALITY_ID, (byte) 0));
|
||||
|
||||
applyFilter(standardizer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user