fix: teleport area from pylons' world and not IO port's (#8675)#8770
fix: teleport area from pylons' world and not IO port's (#8675)#8770ProgramCrafter wants to merge 2 commits intoAppliedEnergistics:mainfrom
Conversation
|
Have you tested this on a dedicated server? That diff looks sus |
|
I have not (yet, though I would be grateful if someone who already has a prepared environment tested it). The intent is to load ServerLevel from the spatial service, as returned by its implementation ; it will correspond to the pylons rather than the I/O port. Is there any reason why it would not work? |
|
Singleplayer test with my fix succeeded. I do not have a dedicated server at hand at the moment, unfortunately. |
|
Yay, I'm glad this bug is getting fixed. That looks like the correct approach to me. The problem was that the teleportation occurred in the dimension of the spatial IO port, rather than the dimension of the pylons, so using the SPS as a proxy of the pylons to replace the spatial IO port looks correct. SPS determines the value you get by the first pylon on it's internal list, and skips any pylons in other dimensions when determining it's volume, so the dimension should always correspond to the volume it found, and thus be appropriate to use here. |
No description provided.