first working stuff

This commit is contained in:
LabyStudio
2022-02-02 14:46:53 +01:00
parent f1b6779221
commit 1fc627b501
4 changed files with 62 additions and 64 deletions
@@ -23,6 +23,8 @@ window.Block = class {
// Register block
Block.blocks.set(id, this);
Block.lightOpacity[id] = this.isSolid() ? 255 : 0;
Block.lightOpacity[0] = 0;
}
getId() {