Fix /tpaccept and /tpdeny not working. (Thanks goodlyay)

This commit is contained in:
UnknownShadow200 2016-05-08 13:04:30 +10:00
parent 4f92cb04c4
commit 19bb5ae56d

View File

@ -51,7 +51,7 @@ namespace MCGalaxy.Commands {
Player.Message(who, "Type " + Colors.green + "/tpaccept %Sor " + Colors.maroon + "/tpdeny%S!"); Player.Message(who, "Type " + Colors.green + "/tpaccept %Sor " + Colors.maroon + "/tpdeny%S!");
Player.Message(who, "This request will timeout after " + Colors.aqua + "90 %Sseconds."); Player.Message(who, "This request will timeout after " + Colors.aqua + "90 %Sseconds.");
Player.Message(who, "---------------------------------------------------------"); Player.Message(who, "---------------------------------------------------------");
who.senderName = p.DisplayName; who.senderName = p.name;
who.Request = true; who.Request = true;
p.currentTpa = who.name; p.currentTpa = who.name;