private string getHeldItem() { foreach (var e in proto.basePlayer.inventory.invBelt.contents) { if (e.UID == HeldEntity) { return(StringPool.GetItem(e.itemid)); } } return("Unknown"); }