Fixed overload resolution ambiguity

This commit is contained in:
Auxilor
2022-04-27 18:52:27 +01:00
parent b223f8457d
commit d9c0e8e763

View File

@@ -32,12 +32,6 @@ fun CommandSender.asAudience(): Audience =
fun Player.runExempted(action: () -> Unit) =
PlayerUtils.runExempted(this, action)
/**
* @see PlayerUtils.runExempted
*/
fun Player.runExempted(action: (Player) -> Unit) =
PlayerUtils.runExempted(this, action)
/**
* @see PlayerUtils.tryAsPlayer
*/