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

Player death messages are not replacing %player% correctly #74

Closed initsuj closed 7 years ago

initsuj commented 7 years ago

String deathMessageByOther = mm.getKillOtherMessage(); deathMessageByOther = deathMessageByOther.replaceAll("%player%", deathMessageByOther); e.setDeathMessage(fm.getPrefix() + deathMessageByOther);

I believe the correct code should be: deathMessageByOther = deathMessageByOther.replaceAll("%player%", playerName);

Otherwise, it shows up as %player% was killed in a duel! was killed in a duel!

teozfrank commented 7 years ago

Does this still occur?

AndrewRed67 commented 7 years ago

I have the same issue, so it still occurs.

teozfrank commented 7 years ago

Fixed, please update to the latest updated version 0.17.4 https://www.spigotmc.org/resources/duelme-beta-spigot-1-8-8-1-11-2-only.541/update?update=137319