mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
Fixed reinitialization of TPlayerStats after beating the end. Prevents potential crash.
This commit is contained in:
1 parent
312fd47360
commit
38da4d74bc
1 file changed
+3
@@ -77,6 +77,9 @@ public class TPlayerStats implements IExtendedEntityProperties, IPlayerExtendedI
|
||||
@Override
|
||||
public void init (Entity entity, World world)
|
||||
{
|
||||
this.player = new WeakReference<EntityPlayer>((EntityPlayer) entity);
|
||||
this.armor.init((EntityPlayer) entity);
|
||||
this.knapsack.init((EntityPlayer) entity);
|
||||
}
|
||||
|
||||
public void copyFrom (TPlayerStats stats, boolean copyCalc)
|
||||
|
||||
Reference in new issue
Block a user