Skip to content

First /home TP's player above Nether roof #6436

@roninpawn

Description

@roninpawn

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?bytebin=1aHek0ClKa

Error log (if applicable)

No response

Bug description

A player reported that using the /home command in the Nether, without having used /sethome yet teleported them to atop the Nether roof. Luckily we have other teleport sites publicly available, so they were able to exit.

It makes sense. I'd guess that if there's no /sethome, then /home takes you to 0,0 or whatever counts as "spawn" in the Nether. But if there's no block the player can spawn on - if the choice is "in lava" or "on roof" - you end up on the roof.

Steps to reproduce

1.) Using a player that has not /sethome yet, enter the Nether.
2.) Use /home.*
*May or may not require a nether that has no spawnable terrain anywhere on the y axis at 0, 0.

Expected behaviour

Good question... I dunno.
What do you want to happen here?
Maybe locate the nearest spawnable terrain, searching outward from 0, 0?

One thing's for sure, though... You DON'T want /home to tp the player to the Nether ceiling unless they've /sethome there.

Actual behaviour

Player is teleported to above the Nether ceiling.

Additional Information

Player was using an alt-account. So they were familiar with the server's commands, and in the habit of using them. But forgot they hadn't /sethome on the alt account. I'd guess that, plus possibly requiring no spawnable 0,0 terrain, is what makes this bug rare enough to go unreported until now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions