Skip to content

Commit

Permalink
Update ArmorProxyClient.java
Browse files Browse the repository at this point in the history
init statics with new objects, instead of uninitialized data from playerStats
  • Loading branch information
tahg committed May 8, 2015
1 parent d0a2e70 commit 935b378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/tconstruct/armor/ArmorProxyClient.java
Expand Up @@ -62,8 +62,8 @@ public class ArmorProxyClient extends ArmorProxyCommon {

public static TPlayerStats playerStats = new TPlayerStats();

public static KnapsackInventory knapsack = playerStats.knapsack;
public static ArmorExtended armorExtended = playerStats.armor;
public static KnapsackInventory knapsack = new KnapsackInventory();
public static ArmorExtended armorExtended = new ArmorExtended();

@Override
public void preInit() {
Expand Down

0 comments on commit 935b378

Please sign in to comment.