mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Fix /zone set motd only keeping first arg
This commit is contained in:
parent
a06f5249e3
commit
33f25ed326
@ -34,7 +34,7 @@ namespace MCGalaxy.Commands.Moderation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override void Use(Player p, string message) {
|
public override void Use(Player p, string message) {
|
||||||
string[] args = message.SplitSpaces();
|
string[] args = message.SplitSpaces(4);
|
||||||
if (message.Length == 0) { Help(p); return; }
|
if (message.Length == 0) { Help(p); return; }
|
||||||
string opt = args[0];
|
string opt = args[0];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user