mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Send bleed messages to the correct player
This commit is contained in:
parent
f028d91eb0
commit
4031674626
@ -56,7 +56,7 @@ public class SwordsManager extends SkillManager {
|
|||||||
|
|
||||||
if (UserManager.getPlayer(defender).useChatNotifications()) {
|
if (UserManager.getPlayer(defender).useChatNotifications()) {
|
||||||
if(!BleedTimerTask.isBleeding(defender))
|
if(!BleedTimerTask.isBleeding(defender))
|
||||||
NotificationManager.sendPlayerInformation(getPlayer(), NotificationType.SUBSKILL_MESSAGE, "Swords.Combat.Bleeding.Started");
|
NotificationManager.sendPlayerInformation(defender, NotificationType.SUBSKILL_MESSAGE, "Swords.Combat.Bleeding.Started");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user