public void RegisterFill(string name, Fill mapfill) { if (Mapfills.ContainsKey(name)) Mapfills.Remove(name); Mapfills.Add(name, mapfill); ServerCore.Logger.Log("MapFill", "Fill registered: " + name, LogType.Info); }
public void CreateFill(string name, string plugin) { var newFill = new Fill {Plugin = plugin, Run = null}; RegisterFill(name, newFill); }