diff options
author | madmaxoft <github@xoft.cz> | 2014-02-17 23:36:39 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-02-17 23:36:39 +0100 |
commit | 1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e (patch) | |
tree | 701c0f0cdc3fedf921b98fa32b9672d0d5bf7a1e /src/Bindings/PluginManager.cpp | |
parent | Add Lua plugin path to package.path and .cpath. (diff) | |
download | cuberite-1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e.tar cuberite-1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e.tar.gz cuberite-1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e.tar.bz2 cuberite-1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e.tar.lz cuberite-1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e.tar.xz cuberite-1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e.tar.zst cuberite-1a26f05ed0e81cb0c2cbd17ee4eb6022f094438e.zip |
Diffstat (limited to 'src/Bindings/PluginManager.cpp')
-rw-r--r-- | src/Bindings/PluginManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp index c6c8c081e..c7df6357e 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -56,7 +56,7 @@ void cPluginManager::ReloadPlugins(void) void cPluginManager::FindPlugins(void) { - AString PluginsPath = FILE_IO_PREFIX + AString( "Plugins/" ); + AString PluginsPath = GetPluginsPath() + "/"; // First get a clean list of only the currently running plugins, we don't want to mess those up for (PluginMap::iterator itr = m_Plugins.begin(); itr != m_Plugins.end();) |