mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-06 05:17:05 +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
|
else
|
||||||
{
|
{
|
||||||
sender.spigot().sendMessage(TextComponent.fromLegacyText(message));
|
((Player) sender).spigot().sendMessage(TextComponent.fromLegacyText(message));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user