Skip to content

Commit

Permalink
Remove FluidStack amount from hashcode calculation (MinecraftForge#5272)
Browse files Browse the repository at this point in the history
  • Loading branch information
CovertJaguar authored and LexManos committed Feb 6, 2019
1 parent 41d07e7 commit 41a098e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/net/minecraftforge/fluids/FluidStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ public final int hashCode()
{
int code = 1;
code = 31*code + getFluid().hashCode();
code = 31*code + amount;
if (tag != null)
code = 31*code + tag.hashCode();
return code;
Expand Down

0 comments on commit 41a098e

Please sign in to comment.