File tree Expand file tree Collapse file tree
Common/Configs/ConfigElements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using ModReloader . Core . Features ;
2+ using Newtonsoft . Json ;
23using Terraria . IO ;
34using Terraria . ModLoader . Config ;
45
@@ -12,6 +13,7 @@ public class PlayerDefinition : EntityDefinition
1213 /// </summary>
1314 public override int Type => Utilities . FindPlayerId ( Name ) ;
1415
16+ [ JsonIgnore ]
1517 public PlayerFileData File => IsUnloaded ? null : Main . PlayerList [ Type ] ;
1618
1719 public override bool IsUnloaded
Original file line number Diff line number Diff line change 11using ModReloader . Core . Features ;
2+ using Newtonsoft . Json ;
23using System . IO ;
34using Terraria . IO ;
45using Terraria . ModLoader . Config ;
@@ -13,6 +14,7 @@ public class WorldDefinition : EntityDefinition
1314 /// </summary>
1415 public override int Type => Utilities . FindWorldId ( Name ) ;
1516
17+ [ JsonIgnore ]
1618 public WorldFileData File => IsUnloaded ? null : Main . WorldList [ Type ] ;
1719
1820 public override bool IsUnloaded
You can’t perform that action at this time.
0 commit comments