mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-05 17:07:06 +02:00
updated to use Player#spigot instead of CommandSender#spigot (I miss Kotlin)
This commit is contained in:
@@ -139,7 +139,7 @@ public final class CommandParse extends PlaceholderCommand
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.spigot().sendMessage(TextComponent.fromLegacyText(message));
|
||||
((Player) sender).spigot().sendMessage(TextComponent.fromLegacyText(message));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user