mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 07:55:53 +00:00
Fix fillLiquidContainer - return null, not the empty container for
previous API compatibility
This commit is contained in:
1 parent
f55329bb97
commit
5a72d49359
1 file changed
+1
-1
@@ -70,7 +70,7 @@ public class LiquidContainerRegistry {
|
||||
return ret.filled.copy();
|
||||
}
|
||||
}
|
||||
return emptyContainer;
|
||||
return null;
|
||||
}
|
||||
|
||||
public static boolean containsLiquid(ItemStack filledContainer, LiquidStack liquid) {
|
||||
|
||||
Reference in new issue
Block a user