mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-11 08:08:50 -04:00
Fix not being able to delete invalid blocks
This commit is contained in:
parent
9e90255645
commit
1b95fc0fef
@ -170,7 +170,6 @@ namespace MCGalaxy.Drawing.Ops {
|
|||||||
if (old == Block.custom_block) old = (BlockID)(Block.Extended | lvl.FastGetExtTile(b.X, b.Y, b.Z));
|
if (old == Block.custom_block) old = (BlockID)(Block.Extended | lvl.FastGetExtTile(b.X, b.Y, b.Z));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (old == Block.Invalid) return;
|
|
||||||
// Check to make sure the block is actually different and that can be used
|
// Check to make sure the block is actually different and that can be used
|
||||||
if (old == b.Block || !p.group.Blocks[old] || !p.group.Blocks[b.Block]) return;
|
if (old == b.Block || !p.group.Blocks[old] || !p.group.Blocks[b.Block]) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user