mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 03:55:18 -04:00
Using /deletelvl should delete the [map].lvl.backup file in the levels folder
This commit is contained in:
parent
f010bd3880
commit
50599b4bec
@ -113,11 +113,11 @@ namespace MCGalaxy
|
||||
|
||||
public override void Help(Player p) {
|
||||
Player.Message(p, "%T/Scripting pcreate [name]");
|
||||
Player.Message(p, "%HCreate a example .cs file!");
|
||||
Player.Message(p, "%HCreate a example .cs plugin file");
|
||||
Player.Message(p, "%T/Scripting pload [filename]");
|
||||
Player.Message(p, "%HLoad a plugin from your plugins folder.");
|
||||
Player.Message(p, "%HLoad a plugin from your plugins folder");
|
||||
Player.Message(p, "%T/Scripting punload [name]");
|
||||
Player.Message(p, "%HUnloads a currently loaded plugin.");
|
||||
Player.Message(p, "%HUnloads a currently loaded plugin");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -129,6 +129,7 @@ namespace MCGalaxy {
|
||||
File.Move(LevelInfo.MapPath(name), LevelInfo.DeletedPath(name));
|
||||
}
|
||||
|
||||
DeleteIfExists(LevelInfo.MapPath(name) + ".backup");
|
||||
DeleteIfExists("levels/level properties/" + name);
|
||||
DeleteIfExists("levels/level properties/" + name + ".properties");
|
||||
DeleteIfExists("blockdefs/lvl_" + name + ".json");
|
||||
|
Loading…
x
Reference in New Issue
Block a user