From 15d40439b66df5ecbb7fb493b610131ecfb349df Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Mon, 18 Aug 2014 06:28:08 -0700 Subject: [PATCH] Minor stuff --- api | 2 +- src/main/java/forestry/core/ForestryCore.java | 3 +-- src/main/java/forestry/core/utils/LiquidHelper.java | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/api b/api index fc81bb2e8..9431b14bd 160000 --- a/api +++ b/api @@ -1 +1 @@ -Subproject commit fc81bb2e83f02c799f780ebdb1db73a315364b08 +Subproject commit 9431b14bd3f93eb51937594af6206b424f8a0158 diff --git a/src/main/java/forestry/core/ForestryCore.java b/src/main/java/forestry/core/ForestryCore.java index 5b9021699..d57efd469 100755 --- a/src/main/java/forestry/core/ForestryCore.java +++ b/src/main/java/forestry/core/ForestryCore.java @@ -208,8 +208,7 @@ public class ForestryCore { LiquidHelper.injectLiquidContainer(Defaults.LIQUID_MILK, Defaults.BUCKET_VOLUME, new ItemStack(Items.milk_bucket), new ItemStack(Items.bucket)); // Lava - LiquidHelper.injectTinContainer(Defaults.LIQUID_LAVA, Defaults.BUCKET_VOLUME, ForestryItem.canLava.getItemStack(), - ForestryItem.canEmpty.getItemStack()); + LiquidHelper.injectTinContainer(Defaults.LIQUID_LAVA, Defaults.BUCKET_VOLUME, ForestryItem.canLava.getItemStack(), ForestryItem.canEmpty.getItemStack()); LiquidHelper.injectRefractoryContainer(Defaults.LIQUID_LAVA, Defaults.BUCKET_VOLUME, ForestryItem.refractoryLava.getItemStack(), ForestryItem.refractoryEmpty.getItemStack()); // Water diff --git a/src/main/java/forestry/core/utils/LiquidHelper.java b/src/main/java/forestry/core/utils/LiquidHelper.java index bae4ba690..e6419cf13 100755 --- a/src/main/java/forestry/core/utils/LiquidHelper.java +++ b/src/main/java/forestry/core/utils/LiquidHelper.java @@ -36,8 +36,8 @@ import forestry.core.render.TextureManager; public class LiquidHelper { - private static LinkedList myLiquids = new LinkedList(); - private static HashMap liquidMap = new HashMap(); + private static final LinkedList myLiquids = new LinkedList(); + private static final HashMap liquidMap = new HashMap(); public static boolean isEmptyLiquidData() { return FluidContainerRegistry.getRegisteredFluidContainerData().length <= 0;