Model/Skin should send a message to you when you change your own skin/model. (Thanks Adra_The_Wroth)

This commit is contained in:
UnknownShadow200 2016-05-21 21:18:39 +10:00
parent e76537f60f
commit 37baaeb4a9
2 changed files with 4 additions and 0 deletions

View File

@ -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")

View File

@ -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)