Skip to content

Commit

Permalink
XRay meta fix
Browse files Browse the repository at this point in the history
  • Loading branch information
N1nt4nd0 committed Jul 4, 2020
1 parent 9dc336a commit dac18f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ boolean itemBlockEquals(ItemStack stack) {
}

boolean blockEquals(Block block, int meta) {
return Block.isEqualTo(this.block, block);
return Block.isEqualTo(this.block, block) && this.meta == meta;
}

@Override public boolean equals(Object o) {
Expand Down

0 comments on commit dac18f7

Please sign in to comment.