修改GetValueWithPlayer接口

This commit is contained in:
子沐呀
2024-08-08 03:26:05 +08:00
Unverified
parent b9e74c7b43
commit 72f2769f1a
+1 -3
View File
@@ -15,9 +15,7 @@ bool isParameters(std::string const& str) {
std::string GetValue(std::string const& from) { return PlaceholderAPI::getValue(from); } std::string GetValue(std::string const& from) { return PlaceholderAPI::getValue(from); }
std::string GetValueWithPlayer(std::string const& a1, std::string const& a2) { std::string GetValueWithPlayer(std::string const& key, Player* player) { return PlaceholderAPI::getValue(key, player); }
return PlaceholderAPI::getValue(a1, ll::service::bedrock::getLevel()->getPlayer(a2));
}
bool registerPlayerPlaceholder( bool registerPlayerPlaceholder(
std::string const& PluginName, std::string const& PluginName,