Add missing case for EQUIPPED_FIRST_PERSON

It needs to be on the 1.6 branch too!
This commit is contained in:
viliml 2013-07-19 14:08:10 +02:00
parent 108adc1a03
commit 1b84d0c592

View file

@ -70,6 +70,8 @@ public class PipeItemRenderer implements IItemRenderer {
return true;
case EQUIPPED:
return true;
case EQUIPPED_FIRST_PERSON:
return true;
case INVENTORY:
return true;
default:
@ -91,6 +93,9 @@ public class PipeItemRenderer implements IItemRenderer {
case EQUIPPED:
renderPipeItem((RenderBlocks) data[0], item, -0.4f, 0.50f, 0.35f);
break;
case EQUIPPED_FIRST_PERSON:
renderPipeItem((RenderBlocks) data[0], item, -0.4f, 0.50f, 0.35f);
break;
case INVENTORY:
renderPipeItem((RenderBlocks) data[0], item, -0.5f, -0.5f, -0.5f);
break;