|
26 | 26 |
|
27 | 27 | public class Client extends GameShell { |
28 | 28 |
|
| 29 | + public static boolean JAG_CHECKSUMS = false; |
| 30 | + |
29 | 31 | @ObfuscatedName("client.Pe") |
30 | 32 | public static int nodeId = 10; |
31 | 33 |
|
@@ -347,6 +349,12 @@ public class Client extends GameShell { |
347 | 349 | @ObfuscatedName("client.de") |
348 | 350 | public int overrideChat; |
349 | 351 |
|
| 352 | + @ObfuscatedName("client.Ec") |
| 353 | + public int MAX_PLAYER_COUNT = 2048; |
| 354 | + |
| 355 | + @ObfuscatedName("client.Fc") |
| 356 | + public int LOCAL_PLAYER_INDEX = 2047; |
| 357 | + |
350 | 358 | @ObfuscatedName("client.Gc") |
351 | 359 | public PlayerEntity[] players = new PlayerEntity[this.MAX_PLAYER_COUNT]; |
352 | 360 |
|
@@ -607,12 +615,6 @@ public class Client extends GameShell { |
607 | 615 | @ObfuscatedName("client.zc") |
608 | 616 | public int[] varps = new int[2000]; |
609 | 617 |
|
610 | | - @ObfuscatedName("client.Ec") |
611 | | - public int MAX_PLAYER_COUNT = 2048; |
612 | | - |
613 | | - @ObfuscatedName("client.Fc") |
614 | | - public int LOCAL_PLAYER_INDEX = 2047; |
615 | | - |
616 | 618 | @ObfuscatedName("client.Mc") |
617 | 619 | public int[] jagChecksum = new int[9]; |
618 | 620 |
|
@@ -2292,7 +2294,7 @@ public final Jagfile getJagFile(int arg0, String arg1, int arg2, String arg3, in |
2292 | 2294 | } |
2293 | 2295 | } catch (Exception var28) { |
2294 | 2296 | } |
2295 | | - if (var7 != null) { |
| 2297 | + if (this.JAG_CHECKSUMS && var7 != null) { |
2296 | 2298 | this.field1329.reset(); |
2297 | 2299 | this.field1329.update(var7); |
2298 | 2300 | int var9 = (int) this.field1329.getValue(); |
|
0 commit comments