mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Fixed Crash with rainbow tinted paintslinger lens.
This commit is contained in:
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];
|
||||
|
||||
Reference in new issue
Block a user