drop correct meta on breaking

This commit is contained in:
George Paton 2026-01-08 22:26:26 +11:00
parent b5b4a537c5
commit a0a7e000d4

View File

@ -130,7 +130,7 @@ public class BlockMassStorage extends BlockContainer implements IBlockMulti, ILo
if(!player.capabilities.isCreativeMode && !world.isRemote && willHarvest) { if(!player.capabilities.isCreativeMode && !world.isRemote && willHarvest) {
ItemStack drop = new ItemStack(this, 1, world.getBlockMetadata(x, y, z)); ItemStack drop = new ItemStack(this, 1, rectify(world.getBlockMetadata(x, y, z)));
ISidedInventory inv = (ISidedInventory)world.getTileEntity(x, y, z); ISidedInventory inv = (ISidedInventory)world.getTileEntity(x, y, z);
NBTTagCompound nbt = new NBTTagCompound(); NBTTagCompound nbt = new NBTTagCompound();