Browse Source

fixed a bug where RF compat wouldnt work if funky locomotion is installed

parent
commit
0df610cec7
Signed by: Gregorius Techneticies <gregoriustech@gmail.com> GPG Key ID: 1B693EA14F2FD70F
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      src/main/java/gregapi/tileentity/energy/EnergyCompat.java

+ 0
- 1
src/main/java/gregapi/tileentity/energy/EnergyCompat.java View File

@@ -151,7 +151,6 @@ public class EnergyCompat {
151 151
 			if (FL_ENERGY) {
152 152
 				if (aReceiver instanceof com.rwtema.funkylocomotion.blocks.TilePusher ) return checkOverCharge(aSize, aReceiver) ? aAmount : UT.Code.divup(((com.rwtema.funkylocomotion.blocks.TilePusher )aReceiver).receiveEnergy(FORGE_DIR[aSide], UT.Code.bind31(aAmount * aSize * RF_PER_EU * 10), F), aSize * RF_PER_EU * 10);
153 153
 				if (aReceiver instanceof com.rwtema.funkylocomotion.blocks.TileBooster) return checkOverCharge(aSize, aReceiver) ? aAmount : UT.Code.divup(((com.rwtema.funkylocomotion.blocks.TileBooster)aReceiver).receiveEnergy(FORGE_DIR[aSide], UT.Code.bind31(aAmount * aSize * RF_PER_EU * 10), F), aSize * RF_PER_EU * 10);
154
-				return 0;
155 154
 			}
156 155
 			
157 156
 			// GalactiCraft and its Addons

Loading…
Cancel
Save