From ce07eb786f0464eb869e74770aed1548a999576e Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 26 Jun 2017 09:38:33 +1000 Subject: [PATCH] Fix no message being shown when specifiying an invalid block for various commands. (Big oops) --- MCGalaxy/Commands/CommandParser.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MCGalaxy/Commands/CommandParser.cs b/MCGalaxy/Commands/CommandParser.cs index 9b711544d..958ef84a7 100644 --- a/MCGalaxy/Commands/CommandParser.cs +++ b/MCGalaxy/Commands/CommandParser.cs @@ -146,6 +146,8 @@ namespace MCGalaxy.Commands { // find custom block byte raw = BlockDefinition.GetBlock(input, p); if (raw != Block.Invalid) return ExtBlock.FromRaw(raw); + + Player.Message(p, "&cThere is no block \"{0}\".", input); return ExtBlock.Invalid; }