From d9240c56262f2a809afa099c451f775b1827e44d Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 25 May 2020 18:04:27 +0200 Subject: [PATCH] Negate "hasCollision" for isTranslucent() --- .../fawe/bukkit/adapter/mc1_15_2/BlockMaterial_1_15_2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BlockMaterial_1_15_2.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BlockMaterial_1_15_2.java index cfa52eb1d..eb67c8f32 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BlockMaterial_1_15_2.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BlockMaterial_1_15_2.java @@ -23,7 +23,7 @@ public class BlockMaterial_1_15_2 implements BlockMaterial { this.material = defaultState.getMaterial(); this.craftBlockData = CraftBlockData.fromData(defaultState); this.craftMaterial = craftBlockData.getMaterial(); - this.isTranslucent = ReflectionUtil.getField(Block.class, block, "v"); + this.isTranslucent = !(boolean) ReflectionUtil.getField(Block.class, block, "v"); } public Block getBlock() {