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

@ -98,7 +98,7 @@ public final class Npc extends PathingEntity {
@OriginalMember(owner = "client!km", name = "b", descriptor = "(I)I")
@Override
protected final int method2688() {
if (Static266.anInt5343 != 0 && this.aClass96_1.anIntArray357 != null) {
if (Static266.game != 0 && this.aClass96_1.anIntArray357 != null) {
@Pc(17) NpcType local17 = this.aClass96_1.method2932();
if (local17 != null && local17.anInt3737 != -1) {
return local17.anInt3737;