Beispiel #1
0
        public override void Load(TagCompound tag)
        {
            NetworkCollection.EnsureNetworkIsInitialized();

            if (tag.ContainsKey("networks"))
            {
                NetworkCollection.Load(tag.GetCompound("networks"));
            }

            if (tag.GetList <Point16>("mufflers") is List <Point16> list)
            {
                MachineMufflerTile.mufflers = list;
            }
        }