mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
e
This commit is contained in:
parent
451ef8f009
commit
d67189e170
@ -46,23 +46,6 @@ public class LibsDisguisesBridge extends FreedomService
|
|||||||
return libsDisguisesPlugin;
|
return libsDisguisesPlugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Boolean isDisguised(Player player)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
final LibsDisguises libsDisguises = getLibsDisguisesPlugin();
|
|
||||||
if (libsDisguises != null)
|
|
||||||
{
|
|
||||||
return DisguiseAPI.isDisguised(player);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
FLog.severe(ex);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void undisguiseAll(boolean staff)
|
public void undisguiseAll(boolean staff)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -10,7 +10,6 @@ import org.bukkit.entity.Player;
|
|||||||
@CommandParameters(description = "Undisguise all online players on the server", usage = "/<command> [-a]", aliases = "uall")
|
@CommandParameters(description = "Undisguise all online players on the server", usage = "/<command> [-a]", aliases = "uall")
|
||||||
public class Command_undisguiseall extends FreedomCommand
|
public class Command_undisguiseall extends FreedomCommand
|
||||||
{
|
{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user