Fix wrong fence color - Fixes #3954

Missed a color meta state with the plastic fence.
This commit is contained in:
Tom E authored and GitHub committed 2017-01-06 14:52:38 +01:00
1 parent 29e57462ee
commit 0c3b705e28
1 file changed
+1 -1
@@ -44,7 +44,7 @@ public class BlockPlasticFence extends BlockFence
@Override
public int getMetaFromState(IBlockState state)
{
return state.getValue(colorProperty).getMetadata();
return state.getValue(colorProperty).getDyeDamage();
}
@Override