Fixed Crash with rainbow tinted paintslinger lens.

This commit is contained in:
Vasco Lavos committed 2014-07-02 21:30:43 +01:00
1 parent 632d82adeb
commit 776763c47b
1 file changed
+1 -1
@@ -330,7 +330,7 @@ public class ItemLens extends ItemMod implements ILens {
if(metaThere != placeColor) {
entity.worldObj.setBlockMetadataWithNotify(coords.posX, coords.posY, coords.posZ, placeColor, 2);
float[] color = EntitySheep.fleeceColorTable[storedColor];
float[] color = EntitySheep.fleeceColorTable[placeColor];
float r = color[0];
float g = color[1];
float b = color[2];