mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Don't let you change /env on maps no perbuild access to (Thanks AndyFC)
This commit is contained in:
parent
e5d6b53832
commit
b3e49e0010
@ -31,7 +31,9 @@ namespace MCGalaxy.Commands.CPE {
|
||||
message = message.ToLower();
|
||||
if (message.CaselessEq("preset")) {
|
||||
SendPresetsMessage(p); return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!LevelInfo.ValidateAction(p, p.level.name, "set env settings of this level")) return;
|
||||
string[] args = message.SplitSpaces();
|
||||
string opt = args[0];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user