mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 13:10:13 +00:00
Non-painted dark steel pressure plates dropping without a texture.
This commit is contained in:
1 parent
a548deac9a
commit
c55a2b16e4
1 file changed
+3
-1
@@ -77,7 +77,9 @@ public class BlockDarkSteelPressurePlate extends BlockPressurePlate implements I
|
||||
if(te instanceof TileEntityPaintedBlock) {
|
||||
TileEntityPaintedBlock tepb = (TileEntityPaintedBlock) te;
|
||||
ItemStack stack = new ItemStack(this);
|
||||
PainterUtil.setSourceBlock(stack, tepb.getSourceBlock(), tepb.getSourceBlockMetadata());
|
||||
if(tepb.getSourceBlock() != null) {
|
||||
PainterUtil.setSourceBlock(stack, tepb.getSourceBlock(), tepb.getSourceBlockMetadata());
|
||||
}
|
||||
|
||||
float f = 0.7F;
|
||||
double d0 = world.rand.nextFloat() * f + (1.0F - f) * 0.5D;
|
||||
|
||||
Reference in new issue
Block a user