mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Doing /os map without args should show help on any map, fixes #286. (Thanks FabTheZen)
This commit is contained in:
parent
8da596c0fd
commit
d1ca70d499
@ -81,7 +81,7 @@ namespace MCGalaxy.Commands.World {
|
||||
|
||||
static void HandleMap(Player p, string cmd, string value) {
|
||||
cmd = cmd.ToUpper();
|
||||
bool mapOnly = !(cmd == "ADD" || cmd == "DELETE");
|
||||
bool mapOnly = !(cmd == "ADD" || cmd == "DELETE" || cmd == "");
|
||||
if (mapOnly && !OwnsMap(p, p.level)) {
|
||||
Player.Message(p, "You may only perform that action on your own map."); return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user