Fixed being able to click on the lol number in search/match
This commit is contained in:
@@ -295,6 +295,6 @@ public class Saylol implements Module
|
|||||||
public void clickAction(Player player, int index)
|
public void clickAction(Player player, int index)
|
||||||
{
|
{
|
||||||
if (player.hasPermission("utils.lol.id"))
|
if (player.hasPermission("utils.lol.id"))
|
||||||
Bukkit.dispatchCommand(player, "lol id " + index);
|
Bukkit.getScheduler().callSyncMethod(ModuleLoader.getPlugin(), () -> Bukkit.dispatchCommand(player, "lol id " + index));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user