mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 03:55:18 -04:00
And do /hackrank changes for /fakerank too, addresses comments in #440.
This commit is contained in:
parent
85443729cb
commit
157b70ccb2
@ -49,11 +49,15 @@ namespace MCGalaxy.Commands.Misc {
|
||||
Player.Message(who, "You are now ranked {0}%S, type /help for your new set of commands.",
|
||||
newRank.ColoredName);
|
||||
}
|
||||
|
||||
who.color = newRank.Color;
|
||||
Entities.GlobalRespawn(who);
|
||||
who.SetPrefix();
|
||||
}
|
||||
|
||||
public override void Help(Player p) {
|
||||
Player.Message(p, "%T/fakerank [name] [rank]");
|
||||
Player.Message(p, "%HSends a fake rank change message.");
|
||||
Player.Message(p, "%T/fakerank [player] [rank]");
|
||||
Player.Message(p, "%HGives [player] the appearance of being ranked to [rank].");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user