Exemple #1
0
        public static ModItem GetPlaceItem <T>(this Mod mod, int kind) where T : SimpleTileObject
        {
            SimpleTileObject tile = ModContent.GetInstance <T>();

            return(tile.GetPlaceItem(kind));
        }
Exemple #2
0
        public static ModItem GetPlaceItem <T>(this Mod mod, int kind) where T : SimpleTileObject
        {
            SimpleTileObject tile = mod.GetTile <T>();

            return(tile.GetPlaceItem(kind));
        }