Refactored a bit of the connection process, added a GlobalConfig class to control behavior

This commit is contained in:
Pazaz 2022-04-20 12:58:48 -04:00
parent ec83b1f868
commit 80c6ba05ff
94 changed files with 592 additions and 578 deletions

View file

@ -159,11 +159,15 @@ public final class IsaacRandom {
@OriginalMember(owner = "client!ij", name = "a", descriptor = "(I)I")
public final int method2295() {
if (this.anInt2916-- == 0) {
this.method2296();
this.anInt2916 = 255;
if (GlobalConfig.USE_ISAAC) {
if (this.anInt2916-- == 0) {
this.method2296();
this.anInt2916 = 255;
}
return this.anIntArray274[this.anInt2916];
} else {
return 0;
}
return this.anIntArray274[this.anInt2916];
}
@OriginalMember(owner = "client!ij", name = "b", descriptor = "(I)V")