Made solar panel wrenchable
This commit is contained in:
parent
6202b46cf7
commit
df24adb936
3 changed files with 10 additions and 115 deletions
|
@ -123,7 +123,7 @@ public class TileSolarPanel extends TilePowerAcceptor implements IToolDrop {
|
|||
|
||||
@Override
|
||||
public ItemStack getToolDrop(final EntityPlayer p0) {
|
||||
return new ItemStack(ModBlocks.SOLAR_PANEL, 1, world.getBlockState(pos).getBlock().getMetaFromState(world.getBlockState(pos)));
|
||||
return new ItemStack(ModBlocks.SOLAR_PANEL, 1, this.panel.ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue