Me and HackRank shouldn't be MB useable

This commit is contained in:
Goodlyay 2018-07-19 16:52:40 -07:00
parent 1ca725b47f
commit d9d189d969
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ namespace MCGalaxy.Commands.Chatting {
public sealed class CmdMe : MessageCmd {
public override string name { get { return "Me"; } }
public override string type { get { return CommandTypes.Chat; } }
public override bool MessageBlockRestricted { get { return true; } }
public override bool SuperUseable { get { return false; } }
public override bool UseableWhenFrozen { get { return true; } }

View File

@ -26,6 +26,7 @@ namespace MCGalaxy.Commands.Misc {
public sealed class CmdHackRank : Command2 {
public override string name { get { return "HackRank"; } }
public override string type { get { return CommandTypes.Other; } }
public override bool MessageBlockRestricted { get { return true; } }
public override bool SuperUseable { get { return false; } }
public override void Use(Player p, string message, CommandData data) {