💩 Use BukkitAudiences#player because gradle refuses to resolve #sender.
This commit is contained in:
parent
144ac02778
commit
cf0947ab81
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ public final class BukkitTest extends JavaPlugin {
|
||||||
|
|
||||||
final BukkitAudiences bukkitAudiences = BukkitAudiences.create(this);
|
final BukkitAudiences bukkitAudiences = BukkitAudiences.create(this);
|
||||||
final MinecraftHelp<CommandSender> minecraftHelp = new MinecraftHelp<>("/cloud help",
|
final MinecraftHelp<CommandSender> minecraftHelp = new MinecraftHelp<>("/cloud help",
|
||||||
bukkitAudiences::audience,
|
sender -> bukkitAudiences.player((Player) sender),
|
||||||
mgr);
|
mgr);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue