internal static void OnItemCheck(Player p, int i) { var bh = p.P_BHandler as PlayerBHandler; if (bh != null) bh.PreItemCheck (); p .RealItemCheck(i); if (bh != null) bh.PostItemCheck(); }