From a0a29a29111bdde70c59c3a49c30d0fa2cbb0717 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 9 Apr 2015 10:23:32 +1000 Subject: [PATCH] SPIGOT-750: Barrier blocks are transparent for xray purposes --- CraftBukkit-Patches/0053-Orebfuscator.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CraftBukkit-Patches/0053-Orebfuscator.patch b/CraftBukkit-Patches/0053-Orebfuscator.patch index cfd4708a3f..41dfdb4faf 100644 --- a/CraftBukkit-Patches/0053-Orebfuscator.patch +++ b/CraftBukkit-Patches/0053-Orebfuscator.patch @@ -358,7 +358,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + // rendering they can be seen through therefor we special + // case them so that the antixray doesn't show the fake + // blocks around them. -+ return block.isOccluding() && block != Blocks.MOB_SPAWNER; ++ return block.isOccluding() && block != Blocks.MOB_SPAWNER && block != Blocks.BARRIER; + } +} diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java