From 4832c167dcec4c5462eb87b1d5850c893dc03d98 Mon Sep 17 00:00:00 2001 From: Madpeterz <57852827+Madpeterz@users.noreply.github.com> Date: Mon, 4 Jan 2021 10:32:01 +0000 Subject: [PATCH] change from virtual to override and call base type --- Core/bottypes/MessageSwitcherBot.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/bottypes/MessageSwitcherBot.cs b/Core/bottypes/MessageSwitcherBot.cs index cfcf58f..d31b0a5 100644 --- a/Core/bottypes/MessageSwitcherBot.cs +++ b/Core/bottypes/MessageSwitcherBot.cs @@ -52,8 +52,9 @@ namespace BSB.bottypes { BotChatControler(message, sender_name, sender_uuid, avatar, group, group_uuid, localchat, false); } - protected virtual void BotChatControler(string message, string sender_name, UUID sender_uuid, bool avatar,bool group, UUID group_uuid, bool localchat,bool fromme) + protected override void BotChatControler(string message, string sender_name, UUID sender_uuid, bool avatar,bool group, UUID group_uuid, bool localchat,bool fromme) { + base.BotChatControler(message, sender_name, sender_uuid, avatar, group, group_uuid, localchat, fromme); if (fromme == false) { if (localchat == false)