Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
murlock committed Jul 28, 2023
1 parent 06377e6 commit 8cfabd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions src/main/java/DCourt/Control/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import DCourt.Screens.Utility.arNotice;
import DCourt.Static.Constants;
import DCourt.Tools.Buffer;
import DCourt.Tools.Loader;
import DCourt.Tools.FileLoader;
import DCourt.Tools.Loader;
import DCourt.Tools.Tools;

/* loaded from: DCourt.jar:DCourt/Control/Player.class */
Expand Down Expand Up @@ -127,12 +127,10 @@ public boolean loadHero(String tname, String tpass) {
.append(this.sessionID)));
this.sessionID = alterSessionID(this.sessionID);
if (!readFindValues(FileLoader.cgiBuffer(Loader.FINDHERO, msg))) {
return false;
return false;
}
this.hero = null;
return readHeroValues(
FileLoader.cgiBuffer(Loader.READHERO, this.name)
);
return readHeroValues(FileLoader.cgiBuffer(Loader.READHERO, this.name));
}

boolean readHeroValues(Buffer buf) {
Expand Down Expand Up @@ -186,9 +184,7 @@ public boolean saveHero() {
/*
* name|sessionID|...
*/
Buffer buf =
FileLoader.cgiBuffer(
Loader.SAVEHERO, this.hero.toString());
Buffer buf = FileLoader.cgiBuffer(Loader.SAVEHERO, this.hero.toString());
System.out.println("SAVEHERO " + buf);
System.out.println(this.hero.toString());
if (!buf.isError()) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/DCourt/Screens/Utility/arPeer.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import DCourt.Static.ArmsTrait;
import DCourt.Static.Constants;
import DCourt.Tools.Buffer;
import DCourt.Tools.Loader;
import DCourt.Tools.FileLoader;
import DCourt.Tools.Loader;
import DCourt.Tools.MadLib;
import DCourt.Tools.Tools;
import java.awt.Button;
Expand Down

0 comments on commit 8cfabd2

Please sign in to comment.