TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ CanFallThroughPlatforms()

virtual ? bool Terraria.ModLoader.GlobalNPC.CanFallThroughPlatforms ( NPC npc)
inlinevirtualinherited

Allows you to determine how and when an NPC can fall through platforms and similar tiles.
Return true to allow an NPC to fall through platforms, false to prevent it. Returns null by default, applying vanilla behaviors (based on aiStyle and type).

Definition at line 242 of file GlobalNPC.cs.

243 {
244 return null;
245 }