diff --git a/src/main/java/forestry/core/utils/BlockUtil.java b/src/main/java/forestry/core/utils/BlockUtil.java index f4a7ad063..a9a98b17d 100644 --- a/src/main/java/forestry/core/utils/BlockUtil.java +++ b/src/main/java/forestry/core/utils/BlockUtil.java @@ -265,7 +265,6 @@ public abstract class BlockUtil { } while (stillInside.test(tile)); block = world.getBlock(x, y - depth, z); - // Werkstoff blocks hold their material in the tile entity, so the world metadata is not the item damage. if (bw && BW_MetaGenerated_WerkstoffBlocksClass != null && BW_MetaGenerated_WerkstoffBlocksClass.isInstance(block)) { return new ItemStack(block, 1, block.getDamageValue(world, x, y - depth, z)); diff --git a/src/main/java/forestry/core/utils/MaterialLibStacks.java b/src/main/java/forestry/core/utils/MaterialLibStacks.java index b52ce74bb..ce7fd915e 100644 --- a/src/main/java/forestry/core/utils/MaterialLibStacks.java +++ b/src/main/java/forestry/core/utils/MaterialLibStacks.java @@ -8,10 +8,9 @@ import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.GameRegistry.UniqueIdentifier; /// Resolves the `ml::` stack string form, which names a MaterialLib item by material and shape -/// rather than by the metadata index that shifts between sessions. +/// rather than by a metadata index that shifts between sessions. /// -/// The only class naming a MaterialLib type. [Stack] loads it only once `materiallib` is present, so the dependency -/// stays soft. +/// MaterialLib types are named only here, so [Stack] can gate loading this class on `materiallib` being present. public abstract class MaterialLibStacks { public static Stack parse(String mlString) {