Fix slime block in Anti-Xray
This commit is contained in:
parent
c64ad85b79
commit
d0ad658b0c
|
@ -204,7 +204,7 @@ index 0000000000000000000000000000000000000000..9e48bcfae4fd4d56d8740907b91f501f
|
||||||
+
|
+
|
||||||
+ if (blockData != null) {
|
+ if (blockData != null) {
|
||||||
+ solidGlobal[i] = blockData.isOccluding(emptyChunk, zeroPos)
|
+ solidGlobal[i] = blockData.isOccluding(emptyChunk, zeroPos)
|
||||||
+ && blockData.getBlock() != Blocks.SPAWNER && blockData.getBlock() != Blocks.BARRIER && blockData.getBlock() != Blocks.SHULKER_BOX || paperWorldConfig.lavaObscures && blockData == Blocks.LAVA.getBlockData();
|
+ && blockData.getBlock() != Blocks.SPAWNER && blockData.getBlock() != Blocks.BARRIER && blockData.getBlock() != Blocks.SHULKER_BOX && blockData.getBlock() != Blocks.SLIME_BLOCK || paperWorldConfig.lavaObscures && blockData == Blocks.LAVA.getBlockData();
|
||||||
+ // Comparing blockData == Blocks.LAVA.getBlockData() instead of blockData.getBlock() == Blocks.LAVA ensures that only "stationary lava" is used
|
+ // Comparing blockData == Blocks.LAVA.getBlockData() instead of blockData.getBlock() == Blocks.LAVA ensures that only "stationary lava" is used
|
||||||
+ // shulker box checks TE.
|
+ // shulker box checks TE.
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue