mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-09 15:23:28 -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));
|
||||
#endif
|
||||
|
||||
if (old == Block.Invalid) return;
|
||||
// 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user