More API update

This commit is contained in:
paulevsGitch 2020-10-29 00:40:49 +03:00
parent f3e0a6eac0
commit b13da60a35
13 changed files with 13 additions and 13 deletions

View file

@ -18,7 +18,7 @@ public class BlockLeaves extends LeavesBlock implements Patterned, IRenderTypeab
}
public BlockLeaves(MaterialColor color, int light) {
super(FabricBlockSettings.copyOf(Blocks.OAK_LEAVES).materialColor(color).lightLevel(light));
super(FabricBlockSettings.copyOf(Blocks.OAK_LEAVES).materialColor(color).luminance(light));
}
@Override