Paper icon indicating copy to clipboard operation
Paper copied to clipboard

touching end portal makes you invincible

Open PhanaticD opened this issue 10 years ago • 9 comments

touching end portal makes you invincible. In my case the end is disabled, but just touching the portal makes you unable to take any damage

PhanaticD avatar Mar 19 '16 11:03 PhanaticD

I had similar issue, only happens if end portal teleport is disabled in paper yml.

hurrgurl avatar Mar 20 '16 00:03 hurrgurl

That is not a config value. Are you referring to the disable-end-credits feature?

zachbr avatar Mar 20 '16 00:03 zachbr

Yeah that one.

hurrgurl avatar Mar 20 '16 00:03 hurrgurl

@hurrgurl do you also have the end disabled?

zachbr avatar Mar 20 '16 22:03 zachbr

Yep, end-credits disabled, not the world itself. Everything works fine when end credits are enabled.

hurrgurl avatar Mar 20 '16 22:03 hurrgurl

i have tried with and without the end world disabled, did not try the credit settings though

PhanaticD avatar Mar 20 '16 23:03 PhanaticD

The end credit disable toggle is unrelated to this issue. The issue is that the player is given temporary invulnerability on dimension change, that is then unset when the server receives a packet from the client after the teleport is successful.

When the end is disabled, it's set but the server never receives that teleport success packet because the player never actually switches dimensions. So their invulnerability is never removed. The same thing should occur when the nether is disabled but I haven't checked that case specifically.

zachbr avatar Mar 21 '16 00:03 zachbr

It seems safe to only do this when the player goes to the end, so I think we'll try that and see how it goes

zachbr avatar Mar 21 '16 00:03 zachbr

Looks like I missed the original end case in that last closing fix. Such is life.

zachbr avatar Mar 21 '16 04:03 zachbr