Need help with mod npc spawning

Jokadrian

Skeletron
This is my code:

public override float SpawnChance(NPCSpawnInfo spawnInfo)
=> Helper.NoZoneAllowWater(spawnInfo) && spawnInfo.spawnTileType == mod.TileType("PinkTile") ? 1.03f : 1f;

But none of the npcs are spawning on that tile
 
Back
Top Bottom