mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 06:28:58 +00:00
Fix unmuting actually muting
This commit is contained in:
1 parent
0c68f59d1e
commit
ccecd056fa
1 file changed
+2
-2
@@ -82,12 +82,12 @@ public class UnmuteCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
|
||||
if (!chan.mute(mutee)) {
|
||||
if (!chan.unmute(mutee)) {
|
||||
TownyMessaging.sendMsg(sender, "[TownyChat] Player is not muted in "+ Colors.White + chan.getName());
|
||||
return true;
|
||||
}
|
||||
|
||||
TownyMessaging.sendMsg(sender, "[TownyChat] " + Colors.White + mutee + Colors.Green +" is now muted in "+ Colors.White + chan.getName());
|
||||
TownyMessaging.sendMsg(sender, "[TownyChat] " + Colors.White + mutee + Colors.Green +" is now unmuted in "+ Colors.White + chan.getName());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user