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:
SenseiKiwi 2013-07-30 18:27:40 -04:00
parent 9f728dbd6c
commit 0c8d012f50

View file

@ -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);
}