mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 12:42:22 -04:00
Fix no message being shown when specifiying an invalid block for various commands. (Big oops)
This commit is contained in:
parent
23c37f00dd
commit
ce07eb786f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user