mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
SPIGOT-1117: Barrier blocks are transparent for xray purposes
This commit is contained in:
parent
df01ae692d
commit
1915993318
@ -358,7 +358,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ // rendering they can be seen through therefor we special
|
+ // rendering they can be seen through therefor we special
|
||||||
+ // case them so that the antixray doesn't show the fake
|
+ // case them so that the antixray doesn't show the fake
|
||||||
+ // blocks around them.
|
+ // 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
|
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||||
|
Loading…
Reference in New Issue
Block a user