Merge pull request #3603 from skykatik/patch-12

Some typos
This commit is contained in:
Anuken 2020-11-25 18:28:30 -05:00 committed by GitHub
commit 6be2b6021b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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.");
}
}
});

View File

@ -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;
}

View File

@ -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;