Closed IceTank closed 2 years ago
Ok, can you fix the lint?
Should I also set a default value for Biome? Or does new Biome already have a default when you give it undefined as an argument?
Lint is fine. It seams like Bedrock test for instant mine are failing. Idk it that has something to do with the change tho.
Tests are failing on master too. It seams like this change has nothing to do with failing tests.
Not this only hides a bug in code not handling metadata properly
I think biome has a default
When metadata is not given in the Block constructor it should default to 0 instead of undefined. undefined can lead to math errors that can lead to other modules treating metadata as NaN messing up a lot of things. stateId is already handled when not defined so metadata should too.