Origins (Forge)

Origins (Forge)

7M Downloads

[1.16.5] "origins:modify_player_spawn" power type ignores spawn-points when the spawn-point is not in the Origins' dimension

mosharky opened this issue ยท 1 comments

commented

Version: 0.7.3.9 - 1.16.5 (latest)

Description:

When playing as an Origin without an origins:modify_player_spawn power type, everything appears to work as intended.

When playing as an Origin WITH an origins:modify_player_spawn power type, spawn-points will not respect the dimension they're in, and will respawn you in the Origin's default dimension. The next death without a set spawn-point will respawn you in your Origin's normal and intended spawn-point.

Take this power as an example:

{
  "type": "origins:modify_player_spawn",
  "dimension": "(dimension)",
  "spawn_strategy": "center"
}

This will spawn me in the (dimension). It must spawn me in the (dimension). Spawn-points inside any other dimension will be entirely ignored. It will spawn me in the very same coordinates as my spawn-point, except in my home dimension.

Replication:

  • I choose an Origin uses the nether_spawn power, spawning me in the Nether by default
  • I make a portal and go to the Overworld
  • I set my spawn in the Overworld with a bed
  • I do /kill
  • I am respawned in the same coordinates of my spawn-point, except in the Nether, and it accommodates for my height as to not suffocate me. (This has caused me to spawn on the Nether's roof)
  • I do /kill again
  • I am respawned to my Origin's original spawn-point in the Nether, with a message telling me that my respawn spawn-point is obstructed

This has been tested with just the Origins mod and either the Nether or Overworld as default dimensions.

The Twilight Forest being a default dimension seems to work as intended for some reason.

commented

I'm getting a similar issue. I'm a human but some players on my server use Nether-based Origins. I died and it spawned me over a Nether lava lake and died again, then I was taken to the overworld spawnpoint. Not my home bed, the world spawn...