mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
don't create the lockdown directories
This commit is contained in:
parent
1badca89cb
commit
cea92a00b0
@ -30,11 +30,6 @@ namespace MCGalaxy.Commands.World {
|
||||
}
|
||||
|
||||
public override void Use(Player p, string message) {
|
||||
if (!Directory.Exists("text/lockdown"))
|
||||
Directory.CreateDirectory("text/lockdown");
|
||||
if (!Directory.Exists("text/lockdown/map"))
|
||||
Directory.CreateDirectory("text/lockdown/map");
|
||||
|
||||
string[] args = message.SplitSpaces();
|
||||
if (args.Length != 2 || !(args[0].CaselessEq("map") || args[0].CaselessEq("player"))) {
|
||||
Help(p); return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user