Skip to content

Commit

Permalink
I Derped.
Browse files Browse the repository at this point in the history
  • Loading branch information
blue42u committed May 1, 2014
1 parent 2f84831 commit 38c619a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/tconstruct/util/player/TPlayerHandler.java
Expand Up @@ -186,7 +186,9 @@ public void onPlayerRespawn (EntityPlayer entityplayer)
TPlayerStats stats = TPlayerStats.get(entityplayer);
if (playerData != null)
{
stats.copyFrom(playerData, true);
stats.copyFrom(playerData, false);
stats.level = playerData.level;
stats.hunger = playerData.hunger;
}

stats.player = new WeakReference<EntityPlayer>(entityplayer);
Expand Down

0 comments on commit 38c619a

Please sign in to comment.