Fixed #5425
This commit is contained in:
@@ -83,7 +83,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
|
||||
Fonts.loadDefaultFont();
|
||||
|
||||
//load fallback atlas if max texture size is below 4096
|
||||
assets.load(new AssetDescriptor<>(maxTextureSize >= 4096 ? "sprites/sprites.aatls" : "sprites/fallback/sprites.aatls", TextureAtlas.class)).loaded = t -> atlas = (TextureAtlas)t;
|
||||
assets.load(new AssetDescriptor<>(maxTextureSize >= 4096 ? "sprites/sprites.aatls" : "sprites/fallback/sprites.aatls", TextureAtlas.class)).loaded = t -> atlas = (TextureAtlas)t;
|
||||
assets.loadRun("maps", Map.class, () -> maps.loadPreviews());
|
||||
|
||||
Musics.load();
|
||||
|
||||
@@ -220,7 +220,7 @@ public class Generators{
|
||||
|
||||
TextureRegion[] regions = block.getGeneratedIcons();
|
||||
|
||||
if(block.variants > 0){
|
||||
if(block.variants > 0 || block instanceof Floor){
|
||||
for(TextureRegion region : block.variantRegions()){
|
||||
GenRegion gen = (GenRegion)region;
|
||||
if(gen.path == null) continue;
|
||||
|
||||
Reference in New Issue
Block a user