private bool IsPlatform(int tile) { EPConfig Config = ModContent.GetInstance <EPConfig>(); return(tile != -1 && (TileID.Sets.Platforms[tile] || (Config.SmartPlatformCheck && IsPlatformStrict(tile)))); }
public override float UseTimeMultiplier(Item item, Player player) { if (!extendedThisFrame || player.whoAmI != Main.myPlayer) { return(1f); } EPConfig config = ModContent.GetInstance <EPConfig>(); if (config.FasterPlacement) { return(5f); } return(1f); }