Fix FluidContainerRegistry handling potions as water bottles (#3037)
This commit is contained in:
parent
99616a503f
commit
1871cf1b02
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ public abstract class FluidContainerRegistry
|
||||||
ContainerKey ck = (ContainerKey)o;
|
ContainerKey ck = (ContainerKey)o;
|
||||||
if (container.getItem() != ck.container.getItem()) return false;
|
if (container.getItem() != ck.container.getItem()) return false;
|
||||||
if (container.getItemDamage() != ck.container.getItemDamage()) 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 false;
|
if (fluid != null && ck.fluid == null) return false;
|
||||||
if (fluid == null && ck.fluid == null) return true;
|
if (fluid == null && ck.fluid == null) return true;
|
||||||
|
|
Loading…
Reference in a new issue