Ender rain damage is unreliable #15
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#15
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
Ender people are supposed to be vulnerable to rain. Instead of being teleported away like regular Endermen, they are simply damaged in the rain. It's not reliable for some reason, I don't know why. It might be caused by switching game modes, but I don't know.
Steps to reproduce the behavior:
Expected behaviour
The player should be damaged once per second (or tick I can't remember)
the code here is probably what's causing the issue:
github.com/kennyrkun/Erostey@7e9c2bfe70/src/main/java/io/github/kennyrkun/erostey/species/ender/Ender.java (L283-L284)I believe this also causes issues for Elves, here:
github.com/kennyrkun/Erostey@7e9c2bfe70/src/main/java/io/github/kennyrkun/erostey/species/Elf.java (L122-L123)simply replacing
returnwithcontinueshould resolve the issue.