Negate "hasCollision" for isTranslucent()

This commit is contained in:
Aurora 2020-05-25 18:04:27 +02:00 committed by dordsor21
parent 2de45458d4
commit d9240c5626

View File

@ -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() {