mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
using /lb info should still work on a block even if it is only a /gb
This commit is contained in:
parent
b5b9fc14ee
commit
355b4f291c
@ -181,7 +181,7 @@ namespace MCGalaxy.Commands.CPE {
|
|||||||
|
|
||||||
BlockDefinition[] defs = global ? BlockDefinition.GlobalDefs : p.level.CustomBlockDefs;
|
BlockDefinition[] defs = global ? BlockDefinition.GlobalDefs : p.level.CustomBlockDefs;
|
||||||
BlockDefinition def = defs[block];
|
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, "About {0} ({1})", def.Name, Block.ToRaw(block));
|
||||||
Player.Message(p, " Draw type: {0}, Blocks light: {1}, collide type: {2}",
|
Player.Message(p, " Draw type: {0}, Blocks light: {1}, collide type: {2}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user