mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
fix last few commits
This commit is contained in:
parent
7b9ce9aa92
commit
c0171a335b
@ -141,7 +141,7 @@ namespace MCGalaxy {
|
||||
for (int i = 0; i < names.Length; i++) {
|
||||
string name = names[i];
|
||||
if (name == null) name = "unknown";
|
||||
if (i < Block.CpeCount) {
|
||||
if (i > 0 && i < Block.CpeCount) {
|
||||
BlockDefinition def = BlockDefinition.GlobalDefs[i];
|
||||
if (def != null) name = def.Name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user