mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Fix /mode dirt/grass (Thanks mrrockman888)
This commit is contained in:
parent
97a73ec0fc
commit
f282bdaab9
@ -35,6 +35,9 @@ namespace MCGalaxy.Blocks {
|
||||
if (!lvl.GrassGrow || !(lvl.physics == 0 || lvl.physics == 5)) {
|
||||
p.ChangeBlock(x, y, z, block, 0); return;
|
||||
}
|
||||
if (p.modeType == Block.dirt || p.modeType == Block.grass) {
|
||||
p.ChangeBlock(x, y, z, block, 0); return;
|
||||
}
|
||||
|
||||
byte above = lvl.GetTile(x, (ushort)(y + 1), z), extAbove = 0;
|
||||
if (above == Block.custom_block)
|
||||
|
Loading…
x
Reference in New Issue
Block a user