Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions technic/tools/prospector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ technic.register_power_tool("technic:prospector", {
return
end
local meta = toolstack:get_meta()
local target = meta:get("target") or migrate_meta(meta)
local target = core.registered_nodes[meta:get("target") or migrate_meta(meta)]
Comment thread
S-S-X marked this conversation as resolved.
Outdated
local look_depth, look_radius = get_field(meta)
local pointed
if pointed_thing.type == "node" then
Expand All @@ -85,7 +85,7 @@ technic.register_power_tool("technic:prospector", {
"label[1,0;"..core.formspec_escape(toolstack:get_description()).."]"..
(target and
"label[0,1.5;"..S("Current target:").."]"..
"label[0,2;"..core.formspec_escape(core.registered_nodes[target].description).."]"..
"label[0,2;"..core.formspec_escape(target.description).."]"..
"item_image[0,2.5;1,1;"..target.."]" or
Comment thread
OgelGames marked this conversation as resolved.
"label[0,1.5;"..S("No target set").."]")..
(pointed and
Expand Down
Loading