From 0c8d012f507dafb94e2028db3d34175c09b5553c Mon Sep 17 00:00:00 2001 From: SenseiKiwi Date: Tue, 30 Jul 2013 18:27:40 -0400 Subject: [PATCH] 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. --- StevenDimDoors/mod_pocketDim/dungeon/DungeonSchematic.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/StevenDimDoors/mod_pocketDim/dungeon/DungeonSchematic.java b/StevenDimDoors/mod_pocketDim/dungeon/DungeonSchematic.java index 35e245b..1eb7d1f 100644 --- a/StevenDimDoors/mod_pocketDim/dungeon/DungeonSchematic.java +++ b/StevenDimDoors/mod_pocketDim/dungeon/DungeonSchematic.java @@ -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); }