Random teleport sometimes teleports you into the air. #38
Labels
No labels
bug
confirmed
bug
unconfirmed
discussion
dovahkiin
duplicate
dwarf
elf
ender
enhancement
exploit
help wanted
lich
not an issue
phasewalker
priority
high
priority
low
priority
medium
question
request
story
viriplaga
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kerrishaus/ErosteySpecies#38
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Sometimes after being teleported randomly, you'll spawn above the ground and fall to your death. Who knows why this happens.
To Reproduce
Expected behavior
The player should always teleport onto the highest block.
Additional Information
the issues lies here!
github.com/kennyrkun/Erostey@d8c6bb99e6/src/main/java/io/github/kennyrkun/erostey/util/Teleport.java (L75)fuck this