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:
parent
9f728dbd6c
commit
0c8d012f50
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue