private static void OnCreate(Player p, Command cmd) { LifeHandler handler = new LifeHandler(); if (!handler.CheckAndGetLifeZone(p, cmd)) { return; } if (!handler.CheckWorldPermissions(p)) { return; } if (null != handler._life) { p.Message("&WLife with such name exists already, choose another"); return; } p.SelectionStart(2, handler.LifeCreateCallback, null, Permission.DrawAdvanced); p.MessageNow("Select life zone: place/remove a block or type /Mark to use your location."); }
private static void OnCreate(Player p, Command cmd) { LifeHandler handler=new LifeHandler(); if (!handler.CheckAndGetLifeZone(p, cmd)) return; if (!handler.CheckWorldPermissions(p)) return; if (null!=handler._life) { p.Message("&WLife with such name exists already, choose another"); return; } p.SelectionStart(2, handler.LifeCreateCallback, null, Permission.DrawAdvanced); p.MessageNow("Select life zone: place/remove a block or type /Mark to use your location."); }