This commit is contained in:
2026-07-22 23:27:50 +02:00
parent 67acd7f9a6
commit f6377bc5a2
5 changed files with 13 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
namespace fs = std::filesystem;
void PluginsManager::init(Minecraft& minecraft) {
m_lua.open_libraries(sol::lib::base);
m_lua.open_libraries(sol::lib::base, sol::lib::package, sol::lib::string, sol::lib::math, sol::lib::table);
registerTypes();
m_minecraft = &minecraft;