This commit is contained in:
paulevsGitch 2020-10-13 14:38:58 +03:00
parent a2b6249671
commit d8ed4fcea2
3 changed files with 6 additions and 2 deletions

View file

@ -9,4 +9,8 @@ public class BlockLeaves extends LeavesBlock {
public BlockLeaves(MaterialColor color) {
super(FabricBlockSettings.copyOf(Blocks.OAK_LEAVES).materialColor(color));
}
public BlockLeaves(MaterialColor color, int light) {
super(FabricBlockSettings.copyOf(Blocks.OAK_LEAVES).materialColor(color).lightLevel(light));
}
}