Project Red - Core

Project Red - Core

43M Downloads

[1.7.10]Electrotine Power enegy is crash

friksasha opened this issue ยท 2 comments

commented

minecraft 1.7.10 Forge-1614
Thermos-1.7.10-1614-server
ProjectRed-1.7.10-4.7.0pre12.95
2017-04-24_21 22 25
2017-04-24_21 22 32
2017-04-24_21 22 46
What happened? In what side to dig?

commented

Also there was a crash with a string on the batterybox.

https://pastebin.com/wYFrZYR8

commented

Okay. I do not want to understand electricity. And I do not want to make a commit. I will say so.
Problem in the server. The client is working fine. I tested several version KCauldron and your fork.
I fixed thit problem as follows:
In file \src\mrtjp\projectred\core\powertraits.scala I added the following lines:
Vloc = math.abs(Vloc) Voltage went into negative
if (Vloc > 120) {Vloc = 120}