Fix being able to spam /pony

This commit is contained in:
UnknownShadow200 2017-09-03 08:18:47 +10:00
parent 8bd33f42f3
commit c81ec5af00

View File

@ -40,7 +40,7 @@ namespace MCGalaxy.Core {
} }
ponycount++; ponycount++;
p.Extras.PutInt("MCGalaxy_Core_RD", ponycount); p.Extras.PutInt("MCGalaxy_Core_Pony", ponycount);
} else if (cmd == "rainbowdashlikescoolthings") { } else if (cmd == "rainbowdashlikescoolthings") {
p.cancelcommand = true; p.cancelcommand = true;
if (!MessageCmd.CanSpeak(p, cmd)) return; if (!MessageCmd.CanSpeak(p, cmd)) return;