mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 08:17:48 +00:00
RoadLine drop correct metadata when destroyed via onNeighborBlockChange (#75)
This commit is contained in:
1 parent
cc9b8ab774
commit
c3e1675ac8
1 file changed
+1
-1
@@ -62,7 +62,7 @@ public class BlockRoadLine extends BlockCarvable {
|
||||
if (par1World.isRemote) return;
|
||||
|
||||
if (!this.canPlaceBlockAt(par1World, par2, par3, par4)) {
|
||||
this.dropBlockAsItem(par1World, par2, par3, par4, 0, 0);
|
||||
this.dropBlockAsItem(par1World, par2, par3, par4, par1World.getBlockMetadata(par2, par3, par4), 0);
|
||||
par1World.setBlockToAir(par2, par3, par4);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user