mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2026-06-04 17:36:55 +00:00
Negate "hasCollision" for isTranslucent()
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user