Fixed some fabric warnings

This commit is contained in:
Frank 2021-09-23 15:20:03 +02:00
parent 791db59c18
commit 8abcab32ec
4 changed files with 18 additions and 11 deletions

View file

@ -54,7 +54,7 @@ public class BaseLeavesBlock extends LeavesBlock implements BlockModelProvider,
}
public BaseLeavesBlock(Block sapling, MaterialColor color, int light) {
super(makeLeaves(color).lightLevel(light));
super(makeLeaves(color).luminance(light));
this.sapling = sapling;
}