mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
fix last commit
This commit is contained in:
parent
a85420a246
commit
b6701ebb4a
@ -50,7 +50,7 @@ namespace MCGalaxy {
|
||||
BlockID block;
|
||||
// raw ID is treated specially, before names
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user