CreativeMD / PlayerRevive

GNU Lesser General Public License v3.0
11 stars 22 forks source link

Compatible with corpse #139

Closed Xikaro closed 7 months ago

Xikaro commented 7 months ago

Bug description When using the playerrevive mode, if you are kicked from the server or the game, or you simply quit before the countdown, the corpse will not spawn and will not be saved in the death history

Steps to reproduce the issue 1)Die 2) Log out of the server during the countdown 3) Go back 4) There is no corpse

Expected behavior I wish the corpse was created

Versions

Other mods corpse

CreativeMD commented 7 months ago

You should report this issue to the Corpse Mod. PlayerRevive kills the player on disconnect. No idea why Corpse cannot handle it. I tested to check if the events are called and yes they are. So it must be something in their end. https://github.com/CreativeMD/PlayerRevive/blob/1.20/src/main/java/team/creative/playerrevive/server/ReviveEventServer.java#L75