Fixed missing plastic colour state

This commit is contained in:
Tom E authored and GitHub committed 2017-01-11 19:51:47 +01:00
1 parent 0c3b705e28
commit 78bbb4b522
1 file changed
+1 -1
@@ -38,7 +38,7 @@ 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