Archived
0

Fixed being able to click on the lol number in search/match

This commit is contained in:
Minenash
2019-01-30 17:31:36 -05:00
parent fa5c3eca6f
commit 1854fbbd53

View File

@@ -295,6 +295,6 @@ public class Saylol implements Module
public void clickAction(Player player, int index)
{
if (player.hasPermission("utils.lol.id"))
Bukkit.dispatchCommand(player, "lol id " + index);
Bukkit.getScheduler().callSyncMethod(ModuleLoader.getPlugin(), () -> Bukkit.dispatchCommand(player, "lol id " + index));
}
}