Archived
0

Fixed ips flag

This commit is contained in:
Pepich
2017-10-22 14:55:31 +02:00
parent ac78f852eb
commit 9f2c92bfec

View File

@@ -31,7 +31,7 @@ import com.redstoner.modules.datamanager.DataManager;
@AutoRegisterListener
@Commands(CommandHolderType.File)
@Version(major = 4, minor = 0, revision = 1, compatible = 4)
@Version(major = 4, minor = 0, revision = 2, compatible = 4)
public class Seen implements Module, Listener
{
HashMap<UUID, JSONArray> names = new HashMap<>();
@@ -45,6 +45,12 @@ public class Seen implements Module, Listener
loadData(player);
}
@Command(hook = "seen", async = AsyncType.ALWAYS)
public boolean seen(CommandSender sender, String player)
{
return seen(sender, player, false);
}
@SuppressWarnings("deprecation")
@Command(hook = "seen2", async = AsyncType.ALWAYS)
public boolean seen(CommandSender sender, String player, boolean show_ips)