mirror of
https://github.com/YouHaveTrouble/PreventStabby.git
synced 2026-05-12 05:16:55 +00:00
fix message being sent to wrong player
This commit is contained in:
@@ -103,7 +103,7 @@ public class PlayerManager {
|
||||
if (!smartCache.getPlayerData(victim).isPvpEnabled()) {
|
||||
if (sendDenyMessage) {
|
||||
ConfigCache config = TogglePvp.getPlugin().getConfigCache();
|
||||
PluginMessages.sendActionBar(victim, config.getCannot_attack_victim());
|
||||
PluginMessages.sendActionBar(attacker, config.getCannot_attack_victim());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user