djkrose / 7DTD-ScriptingMod

Adds scripting support and other useful functionality to 7 Days To Die dedicated server
19 stars 10 forks source link

Imported power blocks with wires are still connected to the exported position #1

Closed djkrose closed 7 years ago

djkrose commented 7 years ago

When exporting powered blocks and reimporting them somehwere else, then attached wires are not adjusted to the new position, but all point to the old power output.

turret

Wire targets need to be adjusted to the relative new position. This can be done in TileEntityPowered class.

In case only a part of the electric circle is exported and imported, we need to cut wires to missing power blocks.

djkrose commented 7 years ago

Solved with release 0.7