diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-03-11 19:27:39 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-03-11 19:27:39 +0100 |
commit | 22f73e9f279db40a7357ca955c279ffd5dd881d8 (patch) | |
tree | 664be461100524efafba7b86e3cc57898becaaeb /builtin/client/chatcommands.lua | |
parent | 5c06763e871666c9cca06142e859ff06985eba97 (diff) | |
parent | 4c6ab11d9edefabe4af7572a506e247932b417d1 (diff) | |
download | dragonfireclient-22f73e9f279db40a7357ca955c279ffd5dd881d8.tar.xz |
Merge branch 'master' of https://github.com/EliasFleckenstein03/dragonfireclient
Diffstat (limited to 'builtin/client/chatcommands.lua')
-rw-r--r-- | builtin/client/chatcommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/client/chatcommands.lua b/builtin/client/chatcommands.lua index 0da3dab1b..e947c564f 100644 --- a/builtin/client/chatcommands.lua +++ b/builtin/client/chatcommands.lua @@ -69,7 +69,7 @@ core.register_chatcommand("teleport", { core.register_chatcommand("wielded", { description = "Print itemstring of wieleded item", func = function() - return true, core.localplayer:get_wielded_item():get_name() + return true, core.localplayer:get_wielded_item():to_string() end }) |