public void UseType(int type, int color) { Color?convertedColor = color >= 0 ? (Color)color : (Color?)null; if (!api.TryUse((ModelId)type, convertedColor)) { api.ClientPrint("No item found."); } }
public void Enable() { enabled = true; client.Send(CreateFullLightLevelPacket()); legacy.ClientPrint("Light filtering turned on"); }
public void Enable() { enabled = true; client.Send(CreateNeutralWeatherPacket()); legacy.ClientPrint("Weather filtering turned on"); }