Skip to content

Commit

Permalink
fix: compile error due to renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Feb 1, 2024
1 parent 0317e13 commit 2d8c3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_core/plugin/endstone_plugin_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ std::vector<Plugin *> EndstonePluginManager::loadPlugins(const std::string &dire

auto name = plugin->getDescription().getName();

if (!std::regex_match(name, PluginDescription::ValidName)) {
if (!std::regex_match(name, PluginDescription::VALID_NAME)) {
server_.getLogger().error("Could not load plugin '{}': Plugin name contains invalid characters.", name);
continue;
}
Expand Down

0 comments on commit 2d8c3d6

Please sign in to comment.