From d9d189d96981507a6488335706e32db7d45dd824 Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Thu, 19 Jul 2018 16:52:40 -0700 Subject: [PATCH] Me and HackRank shouldn't be MB useable --- MCGalaxy/Commands/Chat/CmdMe.cs | 1 + MCGalaxy/Commands/other/CmdHackRank.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/MCGalaxy/Commands/Chat/CmdMe.cs b/MCGalaxy/Commands/Chat/CmdMe.cs index c510f74ad..b0940b16a 100644 --- a/MCGalaxy/Commands/Chat/CmdMe.cs +++ b/MCGalaxy/Commands/Chat/CmdMe.cs @@ -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; } } diff --git a/MCGalaxy/Commands/other/CmdHackRank.cs b/MCGalaxy/Commands/other/CmdHackRank.cs index c51af2c7a..c9c8dc37b 100644 --- a/MCGalaxy/Commands/other/CmdHackRank.cs +++ b/MCGalaxy/Commands/other/CmdHackRank.cs @@ -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) {