summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2021-05-29 18:28:57 +0200
committerGitHub <noreply@github.com>2021-05-29 18:28:57 +0200
commite5fc65264bf0d2174bf29f3512d105297a6c739f (patch)
treebc0c3967555333e7657b3ee8dd2185c25cbadbe8 /src/Bindings/ManualBindings.cpp
parentadded check for harvestation in oreblock handler (#5226) (diff)
downloadcuberite-e5fc65264bf0d2174bf29f3512d105297a6c739f.tar
cuberite-e5fc65264bf0d2174bf29f3512d105297a6c739f.tar.gz
cuberite-e5fc65264bf0d2174bf29f3512d105297a6c739f.tar.bz2
cuberite-e5fc65264bf0d2174bf29f3512d105297a6c739f.tar.lz
cuberite-e5fc65264bf0d2174bf29f3512d105297a6c739f.tar.xz
cuberite-e5fc65264bf0d2174bf29f3512d105297a6c739f.tar.zst
cuberite-e5fc65264bf0d2174bf29f3512d105297a6c739f.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/ManualBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index fe5a1e6cb..1d0519708 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -362,7 +362,7 @@ static void LogFromLuaStack(lua_State * tolua_S, eLogLevel a_LogLevel)
size_t len = 0;
const char * str = lua_tolstring(tolua_S, 1, &len);
- Logger::LogSimple(std::string_view(str, len), a_LogLevel);
+ Logger::LogSimple(fmt::format("[{}] {}", cManualBindings::GetLuaPlugin(tolua_S)->GetName(), std::string_view(str, len)), a_LogLevel);
}