From 355b4f291cfca5c06a77bf5e55654559b8960e69 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 8 Jun 2018 13:34:11 +1000 Subject: [PATCH] using /lb info should still work on a block even if it is only a /gb --- MCGalaxy/Commands/CPE/CustomBlockCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs index 9cc81b558..3b97382cc 100644 --- a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs +++ b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs @@ -181,7 +181,7 @@ namespace MCGalaxy.Commands.CPE { BlockDefinition[] defs = global ? BlockDefinition.GlobalDefs : p.level.CustomBlockDefs; BlockDefinition def = defs[block]; - if (!ExistsInScope(def, block, global)) { MessageNoBlock(p, block, global, cmd); return; } + if (def == null) { MessageNoBlock(p, block, global, cmd); return; } Player.Message(p, "About {0} ({1})", def.Name, Block.ToRaw(block)); Player.Message(p, " Draw type: {0}, Blocks light: {1}, collide type: {2}",