Fixed crash with BuildCraft
This commit is contained in:
parent
ceca58d5f9
commit
2710f976f9
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 96bd0b818bfaacd0d82a335e297297bedd835b67
|
Subproject commit e34b3fdae603d3ae7a4345df8da321c5903b357b
|
|
@ -173,6 +173,7 @@ public class TileEntityTesla extends TileEntityUniversalElectrical implements IT
|
||||||
{
|
{
|
||||||
float transferEnergy = this.getEnergyStored() / transferTeslaCoils.size();
|
float transferEnergy = this.getEnergyStored() / transferTeslaCoils.size();
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
for (ITesla tesla : transferTeslaCoils)
|
for (ITesla tesla : transferTeslaCoils)
|
||||||
{
|
{
|
||||||
if (this.zapCounter % 5 == 0 && ResonantInduction.SOUND_FXS)
|
if (this.zapCounter % 5 == 0 && ResonantInduction.SOUND_FXS)
|
||||||
|
|
Loading…
Reference in a new issue