mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Fix custom water blocks not making grass->dirt
This commit is contained in:
parent
0a5c55619b
commit
55926fe9f9
@ -461,7 +461,7 @@ namespace MCGalaxy {
|
|||||||
|
|
||||||
public bool LightPasses(ExtBlock block) {
|
public bool LightPasses(ExtBlock block) {
|
||||||
BlockDefinition def = GetBlockDef(block);
|
BlockDefinition def = GetBlockDef(block);
|
||||||
if (def != null) return !def.BlocksLight || def.BlockDraw != DrawType.Opaque || def.MinZ > 0;
|
if (def != null) return !def.BlocksLight || def.BlockDraw == DrawType.TransparentThick || def.MinZ > 0;
|
||||||
return Block.LightPass(block.BlockID);
|
return Block.LightPass(block.BlockID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user