Merge pull request #3148 from HenryLoenwind/glowMeta

Keep meta when dropping painted glowstone as item
This commit is contained in:
CrazyPants committed 2016-01-24 20:42:20 +08:00
commit a304f104e3
1 file changed
+5
@@ -216,6 +216,11 @@ public class BlockPaintedGlowstone extends BlockEio implements ITileEntityProvid
return false;
}
@Override
public int damageDropped(int meta) {
return meta;
}
@Override
protected void processDrop(World world, int x, int y, int z, TileEntityEnder te, ItemStack drop) {
TileEntityPaintedBlock tef = (TileEntityPaintedBlock) te;