Fixed the problem with the pillars not showing their proper textures \o\ /o/ \o/
This commit is contained in:
parent
f1b3d6f4bc
commit
10e9d046c3
|
@ -30,7 +30,7 @@ public class BlockStringPillar extends BlockString
|
||||||
@Override
|
@Override
|
||||||
public IBlockState getStateFromMeta(int meta)
|
public IBlockState getStateFromMeta(int meta)
|
||||||
{
|
{
|
||||||
IBlockState iblockstate = this.getDefaultState().withProperty(this.getStringProp(), this.getValues().get(meta % 5));
|
IBlockState iblockstate = getBlockState().getBaseState().withProperty(this.getStringProp(), this.getValues().get(meta % 5));
|
||||||
|
|
||||||
switch (meta / 5)
|
switch (meta / 5)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue