mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
Merge pull request #4128 from thommy101/issue-3954
This commit is contained in:
commit
0344c4be76
1 file changed
+2
-2
@@ -38,13 +38,13 @@ public class BlockPlasticFence extends BlockFence
|
||||
@Override
|
||||
public IBlockState getStateFromMeta(int meta)
|
||||
{
|
||||
return this.getDefaultState().withProperty(colorProperty, EnumDyeColor.byMetadata(meta));
|
||||
return this.getDefaultState().withProperty(colorProperty, EnumDyeColor.byDyeDamage(meta));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMetaFromState(IBlockState state)
|
||||
{
|
||||
return state.getValue(colorProperty).getMetadata();
|
||||
return state.getValue(colorProperty).getDyeDamage();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user