mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 07:36:01 +00:00
Bump version, temporary asset purge
This commit is contained in:
1 parent
2f705768e4
commit
c89d7d49b9
1599 files changed
+21
-30507
No files matched your search
@@ -49,6 +49,12 @@ public class BlockGlowPanel extends Block implements ITileEntityProvider
|
||||
super(Material.PISTON);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMetaFromState(IBlockState state)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockStateContainer createBlockState()
|
||||
{
|
||||
@@ -151,7 +157,7 @@ public class BlockGlowPanel extends Block implements ITileEntityProvider
|
||||
@Override
|
||||
public int damageDropped(IBlockState state)
|
||||
{
|
||||
return getMetaFromState(state);
|
||||
return ((IExtendedBlockState)state).getValue(ColorProperty.INSTANCE).color.getMetaValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user