From dac18f7dc39febf5694274962f3d2c2da29f80fb Mon Sep 17 00:00:00 2001 From: N1nt4nd0 Date: Sat, 4 Jul 2020 18:04:09 +0300 Subject: [PATCH] XRay meta fix --- src/main/java/forgefuck/team/xenobyte/modules/XRaySelect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forgefuck/team/xenobyte/modules/XRaySelect.java b/src/main/java/forgefuck/team/xenobyte/modules/XRaySelect.java index 1da8ef2..15b3de9 100644 --- a/src/main/java/forgefuck/team/xenobyte/modules/XRaySelect.java +++ b/src/main/java/forgefuck/team/xenobyte/modules/XRaySelect.java @@ -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) {