mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
fix last commit
This commit is contained in:
parent
a85420a246
commit
b6701ebb4a
@ -50,7 +50,7 @@ namespace MCGalaxy {
|
|||||||
BlockID block;
|
BlockID block;
|
||||||
// raw ID is treated specially, before names
|
// raw ID is treated specially, before names
|
||||||
if (BlockID.TryParse(input, out block)) {
|
if (BlockID.TryParse(input, out block)) {
|
||||||
if (block < Block.CpeCount || (block <= Block.MaxRaw && defs[block] != null)) {
|
if (block < Block.CpeCount || (block <= Block.MaxRaw && defs[FromRaw(block)] != null)) {
|
||||||
return FromRaw(block);
|
return FromRaw(block);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user