mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 22:44:34 +00:00
Merge pull request #2963 from HenryLoenwind/letThereBeLight
Switch on lights when they get power
This commit is contained in:
commit
18c76b19b3
1 file changed
+3
@@ -375,6 +375,9 @@ public class TileElectricLight extends TileEntityEio implements IInternalPowerRe
|
||||
if(!requiresPower) {
|
||||
return 0;
|
||||
}
|
||||
if (energyStoredRF == 0) {
|
||||
init = true;
|
||||
}
|
||||
return PowerHandlerUtil.recieveInternal(this, maxReceive, from, simulate);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user