mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 04:40:10 +07:00
Update NetClient.java
This commit is contained in:
parent
07893eee9c
commit
ce045a470a
@ -342,9 +342,9 @@ public class NetClient implements ApplicationListener{
|
||||
|
||||
@Remote(variants = Variant.both)
|
||||
public static void warningToast(int unicode, String text){
|
||||
if(text == null || mindustry.ui.Fonts.def.getData().getGlyph((char)unicode) == null) return;
|
||||
if(text == null || Fonts.def.getData().getGlyph((char)unicode) == null) return;
|
||||
|
||||
ui.hudfrag.showToast(mindustry.ui.Fonts.getGlyph(mindustry.ui.Fonts.def, (char)unicode), text);
|
||||
ui.hudfrag.showToast(Fonts.getGlyph(ui.Fonts.def, (char)unicode), text);
|
||||
}
|
||||
|
||||
@Remote(variants = Variant.both)
|
||||
|
Loading…
Reference in New Issue
Block a user