commandgeek / GeekSMP

GeekSMP Plugin
Other
13 stars 4 forks source link

Glitched undead skeleton #122

Open Pippa015 opened 2 years ago

Pippa015 commented 2 years ago

Expected behavior

When an undead dies, gets revived, or goes through a nether portal, the skeleton/zombie of that player is supposed to despawn.

Actual behavior

Sometimes when an undead goes through a nether portal, the skeleton does not despawn. This happened in my nether portal, and after a few days of waiting, there is still a skeleton in my nether portal.

Steps to reproduce

This doesn't always work, but here are the steps:

  1. Become an undead skeleton (I am not sure if it's the same with zombies)
  2. Go through a nether portal
  3. Go back
  4. If successful, a skeleton/zombie should be standing in the nether portal

Minecraft version and OS

1.17.1 Windows 10

Checks

Anything else

No response

srnyx commented 2 years ago

We think this is because of how the active morphs (data/morphs.yml) are stored. Whenever the plugin shuts down (when the server is stopped [may also happen when the plugin is reloaded]) it's supposed to clear all morphs, but sometimes it doesn't clear all of them. I've fixed all currently bugged morphs, to get rid of any currently glitched ones you just have to kill the mob.

I don't think there's any point in fixing this since GeekSMP 2.0 is almost done. But anyone else is free to try.