This commit is contained in:
Skat
2020-11-07 19:46:37 +03:00
parent f8914d0543
commit 9f979cba0d
3 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ public class MenuRenderer implements Disposable{
private void generate(){
world.beginMapLoad();
Tiles tiles = world.resize(width, height);
Seq<Block> ores = content.blocks().select(OreBlock.class::isInstance);
Seq<Block> ores = content.blocks().select(b -> b instanceof OreBlock);
shadows = new FrameBuffer(width, height);
int offset = Mathf.random(100000);
Simplex s1 = new Simplex(offset);