mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-24 13:39:03 +07:00
commit
6be2b6021b
@ -41,7 +41,7 @@ public class NetClient implements ApplicationListener{
|
||||
private boolean connecting = false;
|
||||
/** If true, no message will be shown on disconnect. */
|
||||
private boolean quiet = false;
|
||||
/** Whether to supress disconnect events completely.*/
|
||||
/** Whether to suppress disconnect events completely.*/
|
||||
private boolean quietReset = false;
|
||||
/** Counter for data timeout. */
|
||||
private float timeoutTime = 0f;
|
||||
@ -345,7 +345,7 @@ public class NetClient implements ApplicationListener{
|
||||
|
||||
ui.showInfoToast(message, duration);
|
||||
}
|
||||
|
||||
|
||||
@Remote(variants = Variant.both)
|
||||
public static void warningToast(int unicode, String text){
|
||||
if(text == null || Fonts.icon.getData().getGlyph((char)unicode) == null) return;
|
||||
|
@ -422,7 +422,7 @@ public class NetServer implements ApplicationListener{
|
||||
currentlyKicking[0] = session;
|
||||
}
|
||||
}else{
|
||||
player.sendMessage("[scarlet]No player[orange]'" + args[0] + "'[scarlet] found.");
|
||||
player.sendMessage("[scarlet]No player [orange]'" + args[0] + "'[scarlet] found.");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -31,7 +31,7 @@ public abstract class Content implements Comparable<Content>, Disposable{
|
||||
*/
|
||||
public void load(){}
|
||||
|
||||
/** @return whether an error ocurred during mod loading. */
|
||||
/** @return whether an error occurred during mod loading. */
|
||||
public boolean hasErrored(){
|
||||
return minfo.error != null;
|
||||
}
|
||||
|
@ -677,7 +677,7 @@ public class Mods implements Loadable{
|
||||
public Seq<String> missingDependencies = new Seq<>();
|
||||
/** Script files to run. */
|
||||
public Seq<Fi> scripts = new Seq<>();
|
||||
/** Content with intialization code. */
|
||||
/** Content with initialization code. */
|
||||
public ObjectSet<Content> erroredContent = new ObjectSet<>();
|
||||
/** Current state of this mod. */
|
||||
public ModState state = ModState.enabled;
|
||||
@ -708,7 +708,7 @@ public class Mods implements Loadable{
|
||||
return !erroredContent.isEmpty();
|
||||
}
|
||||
|
||||
/** @return whether this mod is supported by the game verison */
|
||||
/** @return whether this mod is supported by the game version */
|
||||
public boolean isSupported(){
|
||||
if(isOutdated()) return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user