mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
fix issues with renamed core blocks that have uppercase characters
This commit is contained in:
parent
e8f7a7023b
commit
0b541e0f88
@ -144,9 +144,10 @@ namespace MCGalaxy {
|
||||
if (i > 0 && i < Block.CpeCount) {
|
||||
BlockDefinition def = BlockDefinition.GlobalDefs[i];
|
||||
if (def != null) name = def.Name;
|
||||
}
|
||||
|
||||
}
|
||||
Props[i].Name = name;
|
||||
|
||||
name = name.ToLower();
|
||||
if (name != "unknown")
|
||||
Aliases[name] = (byte)i;
|
||||
if (name.IndexOf('_') >= 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user