mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 06:53:24 +00:00
Merge pull request #3148 from HenryLoenwind/glowMeta
Keep meta when dropping painted glowstone as item
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user