Merge pull request #81 from AtlasMediaGroup/FS-201

Admins can now see commands of everyone, regardless of rank (FS-201)
This commit is contained in:
Video 2021-06-17 05:54:10 -06:00 committed by GitHub
commit 24ad2611a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,11 +25,6 @@ public class CommandSpy extends FreedomService
{
if (plugin.al.isAdmin(player) && plugin.al.getAdmin(player).getCommandSpy())
{
if (plugin.al.isAdmin(event.getPlayer()) && !plugin.al.isSeniorAdmin(player))
{
continue;
}
if (player != event.getPlayer())
{
FUtil.playerMsg(player, event.getPlayer().getName() + ": " + event.getMessage());