From 2710f976f9c08b28f3ad503e8e2a6c829483f6e7 Mon Sep 17 00:00:00 2001 From: Calclavia Date: Wed, 7 Aug 2013 22:45:00 -0400 Subject: [PATCH] Fixed crash with BuildCraft --- Universal-Electricity | 2 +- src/resonantinduction/tesla/TileEntityTesla.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Universal-Electricity b/Universal-Electricity index 96bd0b81..e34b3fda 160000 --- a/Universal-Electricity +++ b/Universal-Electricity @@ -1 +1 @@ -Subproject commit 96bd0b818bfaacd0d82a335e297297bedd835b67 +Subproject commit e34b3fdae603d3ae7a4345df8da321c5903b357b diff --git a/src/resonantinduction/tesla/TileEntityTesla.java b/src/resonantinduction/tesla/TileEntityTesla.java index 498dee82..6a356f57 100644 --- a/src/resonantinduction/tesla/TileEntityTesla.java +++ b/src/resonantinduction/tesla/TileEntityTesla.java @@ -173,6 +173,7 @@ public class TileEntityTesla extends TileEntityUniversalElectrical implements IT { float transferEnergy = this.getEnergyStored() / transferTeslaCoils.size(); int count = 0; + for (ITesla tesla : transferTeslaCoils) { if (this.zapCounter % 5 == 0 && ResonantInduction.SOUND_FXS)