summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-02-18 05:03:05 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-04-21 12:55:48 +0200
commit93ab4aa89d8d81e5dd042201b75165f8db4968bd (patch)
treea17aa61e6051e8c3e40dcdcc589d5daa24450d4b
parentChanged luajit to lua5.1 (diff)
downloadAltCraft-93ab4aa89d8d81e5dd042201b75165f8db4968bd.tar
AltCraft-93ab4aa89d8d81e5dd042201b75165f8db4968bd.tar.gz
AltCraft-93ab4aa89d8d81e5dd042201b75165f8db4968bd.tar.bz2
AltCraft-93ab4aa89d8d81e5dd042201b75165f8db4968bd.tar.lz
AltCraft-93ab4aa89d8d81e5dd042201b75165f8db4968bd.tar.xz
AltCraft-93ab4aa89d8d81e5dd042201b75165f8db4968bd.tar.zst
AltCraft-93ab4aa89d8d81e5dd042201b75165f8db4968bd.zip
-rw-r--r--src/Plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Plugin.cpp b/src/Plugin.cpp
index 40ff82f..41c690c 100644
--- a/src/Plugin.cpp
+++ b/src/Plugin.cpp
@@ -20,7 +20,7 @@ sol::state lua;
namespace PluginApi {
- void RegisterPlugin(sol::table &self, sol::table &plugin) {
+ void RegisterPlugin(sol::table self, sol::table plugin) {
Plugin nativePlugin {
plugin["name"].get_or<std::string>("75"),
plugin["displayName"].get_or<std::string>(""),
@@ -34,7 +34,7 @@ namespace PluginApi {
LOG(INFO) << "Loaded plugin " << (!nativePlugin.displayName.empty() ? nativePlugin.displayName : nativePlugin.name);
}
- void LogWarning(sol::table &self, std::string text) {
+ void LogWarning(sol::table self, std::string text) {
LOG(WARNING) << text;
}