teozfrank / DuelMe

DuelMe is a bukkit plugin to allow players to duel each other for fun
http://dev.bukkit.org/bukkit-plugins/duelme/
MIT License
9 stars 14 forks source link

PlayerDeathEvent not working properly #76

Closed TeamRaiderz closed 7 years ago

TeamRaiderz commented 7 years ago

Hello! We found a bug in your DuelMe plugin. The error is that when a player is killed in a duel, the duel will not remove the players from the duel and the duel's timer will go on. I tried to fix it myself with my plugin just using your plugin's DuelManager class, but with no success (I just checked in my DeathEvent if the players were in the duel, and then remove them from the duel). I think the error is at PlayerDeath.java class at the line 78 (dm.endDuel(loser);). I don't know if this has occured for others or I don't know if my PvPMoney plugin or my KitPvP plugin for the server is not working well with your plugin, but it would be nice if you could try to look at the error. Our server has DuelMe plugin with version 0.17.2 Thanks! ~ TeamRaiderz

teozfrank commented 7 years ago

Do you have any combat log plugins? they can cause a conflict causing players to not be teleported from an arena. Could you show me this bug on your server?

TeamRaiderz commented 7 years ago

Here is a video what shows the bug: https://www.youtube.com/watch?v=j4S8ktSHSPI&feature=youtu.be

We do not have any combat log plugins.. We just have a "PvPMoney" plugin what gives the player money after the player kills another player. And I've also made a KitPvP plugin as you probably saw in the video. They both contain a PlayerDeathEvent, so I checked in both plugins if the player is in a duel if they were, the plugin would end the duel.

teozfrank commented 7 years ago

I have tested this locally and it works fine, you have a plugin that is conflicting, are you using spigot?

teozfrank commented 7 years ago

Closed as no repsonse made, please re-open if you are still having problems.