mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 12:42:22 -04:00
Fix /lb being broken by recent commits
This commit is contained in:
parent
e6e92b7ecf
commit
318a8e7842
@ -364,9 +364,9 @@ namespace MCGalaxy {
|
||||
lvl.BlockDB.Cache.Enabled = lvl.Config.UseBlockDB;
|
||||
|
||||
BlockDefinition[] defs = BlockDefinition.Load(false, lvl);
|
||||
for (int i = 0; i < defs.Length; i++) {
|
||||
if (defs[i] == null) continue;
|
||||
lvl.UpdateCustomBlock((byte)i, defs[i]);
|
||||
for (int b = 0; b < defs.Length; b++) {
|
||||
if (defs[b] == null) continue;
|
||||
lvl.UpdateCustomBlock((BlockID)b, defs[b]);
|
||||
}
|
||||
|
||||
lvl.UpdateBlockProps();
|
||||
|
Loading…
x
Reference in New Issue
Block a user