working light system

This commit is contained in:
LabyStudio
2022-02-02 15:18:45 +01:00
parent 1fc627b501
commit 010d883273
6 changed files with 28 additions and 46 deletions
+2 -2
View File
@@ -78,11 +78,11 @@ window.Minecraft = class {
this.window.mouseMotionX = 0;
this.window.mouseMotionY = 0;
}
while (this.world.updateLights()) ;
// Render the game
this.worldRenderer.render(partialTicks);
while (this.world.updateLights()) ;
}
onTick() {