mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 12:42:22 -04:00
Model/Skin should send a message to you when you change your own skin/model. (Thanks Adra_The_Wroth)
This commit is contained in:
parent
e76537f60f
commit
37baaeb4a9
@ -70,6 +70,8 @@ namespace MCGalaxy.Commands {
|
||||
Entities.UpdateModel(who.id, model, who.level, who);
|
||||
if (p != who)
|
||||
Player.GlobalMessage(who.ColoredName + "'s %Smodel was changed to a &c" + model);
|
||||
else
|
||||
Player.Message(who, "Changed your own model to a &c" + model);
|
||||
|
||||
Server.Models.DeleteStartsWith(who.name + " ");
|
||||
if (model != "humanoid")
|
||||
|
@ -74,6 +74,8 @@ namespace MCGalaxy.Commands {
|
||||
Entities.GlobalSpawn(who, true);
|
||||
if (p != who)
|
||||
Player.GlobalMessage(who.ColoredName + "'s %Sskin was changed to &c" + skin);
|
||||
else
|
||||
Player.Message(who, "Changed your own skin to &c" + skin);
|
||||
|
||||
Server.Skins.DeleteStartsWith(who.name + " ");
|
||||
if (skin != who.truename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user