mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-20 20:12:23 +00:00
fixed weird behavior of GUIs due to short Overflows
fixed Aqua Infused Gen not working underwater did some changes to the reflected gens, still don't work.
This commit is contained in:
1 parent
d229201b90
commit
63f04556e2
13 files changed
+119
-202
No files matched your search
@@ -24,12 +24,15 @@ public class TileEntityFireSolar extends TileEntitySolarBase {
|
||||
boolean ignis = ((this.worldObj.provider.dimensionId == (-1)) || (theSunIsVisible));
|
||||
if(ignis) {
|
||||
this.isActive=true;
|
||||
if (FMLCommonHandler.instance().getEffectiveSide().isServer()) {
|
||||
if (side) {
|
||||
this.generating=output*calc_multi();
|
||||
this.energySource.addEnergy(this.output*calc_multi());
|
||||
}
|
||||
}
|
||||
else this.isActive=false;
|
||||
else {
|
||||
isActive = false;
|
||||
this.generating=0;
|
||||
}
|
||||
/*if (!ignis && VisNetHandler.drainVis(worldObj, xCoord, yCoord, zCoord, Aspect.FIRE, 10)>=10) {
|
||||
if (FMLCommonHandler.instance().getEffectiveSide().isServer()) {
|
||||
energySource.addEnergy(15F);
|
||||
|
||||
Reference in new issue
Block a user