mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Several Tesla fixes
This commit is contained in:
1 parent
db2751c84d
commit
ab5b5deb23
2 files changed
+2
-2
No files matched your search
@@ -255,7 +255,7 @@ public final class CableUtils
|
||||
else if(CapabilityUtils.hasCapability(tileEntity, Capabilities.TESLA_CONSUMER_CAPABILITY, side.getOpposite()))
|
||||
{
|
||||
ITeslaConsumer consumer = CapabilityUtils.getCapability(tileEntity, Capabilities.TESLA_CONSUMER_CAPABILITY, side.getOpposite());
|
||||
sent += consumer.givePower((long)Math.round(currentSending*general.TO_TESLA), false);
|
||||
sent += consumer.givePower((long)Math.round(currentSending*general.TO_TESLA), false)*general.FROM_TESLA;
|
||||
}
|
||||
else if(MekanismUtils.useRF() && tileEntity instanceof IEnergyReceiver)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user