MinecraftModDevelopmentMods / Tesla-Core-Lib

Minecraft library useful in creating power hungry machines
https://minecraft.curseforge.com/projects/tesla-core-lib
MIT License
6 stars 8 forks source link

Generators transfering power clientside crashing PowerCells #25

Closed Buuz135 closed 6 years ago

Buuz135 commented 6 years ago

Power should only be sent server side. https://github.com/Buuz135/Industrial-Foregoing/issues/98 https://github.com/TechReborn/TechReborn/issues/1161

power-spike commented 6 years ago

I am getting this issue as well.

Running a server, and anytime a client goes anywhere near the area, we are getting client side crashes.

What caused the issue: the player in question placed down a Petrified Fuel Generator from Industrial Forgoing and crashed to desktop.

Anyone who now goes near the area crashes to desktop.

https://pastebin.com/06J7hTx5

(Excert from log)

faceofcat commented 6 years ago

this was probably fixed a while ago... I see the generator code tests for !world.isRemote before distributing power.