public static void SendSpellbookContent(this NetState ns, Serial book, int graphic, int offset, ulong content) { if (ns == null) { return; } if (ObjectPropertyList.Enabled && ns.NewSpellbook) { ns.SendNewSpellbookContent(book, graphic, offset, content); } else { ns.SendOldSpellbookContent(book, offset, content); } }