mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-11 15:57:32 +00:00
Fix FluidContainerRegistry handling potions as water bottles (#3037)
This commit is contained in:
1 parent
99616a503f
commit
1871cf1b02
1 file changed
+1
@@ -74,6 +74,7 @@ public abstract class FluidContainerRegistry
|
||||
ContainerKey ck = (ContainerKey)o;
|
||||
if (container.getItem() != ck.container.getItem()) return false;
|
||||
if (container.getItemDamage() != ck.container.getItemDamage()) return false;
|
||||
if (!ItemStack.areItemStackTagsEqual(container, ck.container)) return false;
|
||||
if (fluid == null && ck.fluid != null) return false;
|
||||
if (fluid != null && ck.fluid == null) return false;
|
||||
if (fluid == null && ck.fluid == null) return true;
|
||||
|
||||
Reference in new issue
Block a user