Fix fillLiquidContainer - return null, not the empty container for

previous API compatibility
This commit is contained in:
Christian 2012-11-15 21:46:06 -05:00
parent f55329bb97
commit 5a72d49359

View file

@ -70,7 +70,7 @@ public class LiquidContainerRegistry {
return ret.filled.copy();
}
}
return emptyContainer;
return null;
}
public static boolean containsLiquid(ItemStack filledContainer, LiquidStack liquid) {