From 5a72d4935990b44f115844613f5babfb617c9a35 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 15 Nov 2012 21:46:06 -0500 Subject: [PATCH] Fix fillLiquidContainer - return null, not the empty container for previous API compatibility --- common/net/minecraftforge/liquids/LiquidContainerRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/net/minecraftforge/liquids/LiquidContainerRegistry.java b/common/net/minecraftforge/liquids/LiquidContainerRegistry.java index 7a4e4462a..b2796cb62 100644 --- a/common/net/minecraftforge/liquids/LiquidContainerRegistry.java +++ b/common/net/minecraftforge/liquids/LiquidContainerRegistry.java @@ -70,7 +70,7 @@ public class LiquidContainerRegistry { return ret.filled.copy(); } } - return emptyContainer; + return null; } public static boolean containsLiquid(ItemStack filledContainer, LiquidStack liquid) {