mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 05:54:27 +00:00
Switch on lights when they get power
This commit is contained in:
1 parent
5210764001
commit
b86a05e391
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