mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-10-28 17:41:58 +01: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