Redundant cast cleanup
This commit is contained in:
@@ -196,12 +196,12 @@ public class Fonts{
|
||||
size = 18;
|
||||
}};
|
||||
|
||||
Core.assets.load("outline", Font.class, new FreeTypeFontLoaderParameter(mainFont, param)).loaded = t -> Fonts.outline = (Font)t;
|
||||
Core.assets.load("outline", Font.class, new FreeTypeFontLoaderParameter(mainFont, param)).loaded = t -> Fonts.outline = t;
|
||||
|
||||
Core.assets.load("tech", Font.class, new FreeTypeFontLoaderParameter("fonts/tech.ttf", new FreeTypeFontParameter(){{
|
||||
size = 18;
|
||||
}})).loaded = f -> {
|
||||
Fonts.tech = (Font)f;
|
||||
Fonts.tech = f;
|
||||
Fonts.tech.getData().down *= 1.5f;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user