diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2021-02-03 18:33:32 +0000 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2021-02-03 18:33:32 +0000 |
commit | 2294a235826810864c1dbae7db644dfbc4722e6c (patch) | |
tree | 209123555632877e60d5145392fba67e7c02141e /wielder.lua | |
parent | 8322f256c5c7f3f1fc6e64880d9a160286e0a0cb (diff) | |
parent | b2d2ccbcba41620f7d4d818ec125e6ed3e7093ee (diff) | |
download | pipeworks-2294a235826810864c1dbae7db644dfbc4722e6c.tar pipeworks-2294a235826810864c1dbae7db644dfbc4722e6c.tar.gz pipeworks-2294a235826810864c1dbae7db644dfbc4722e6c.tar.bz2 pipeworks-2294a235826810864c1dbae7db644dfbc4722e6c.tar.xz pipeworks-2294a235826810864c1dbae7db644dfbc4722e6c.zip |
Merge branch 'm_unused_code_removal' into 'master'
Remove or comment unused code and declare some variables local
See merge request VanessaE/pipeworks!33
Diffstat (limited to 'wielder.lua')
-rw-r--r-- | wielder.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/wielder.lua b/wielder.lua index 7ed235a..393d91f 100644 --- a/wielder.lua +++ b/wielder.lua @@ -1,10 +1,6 @@ local S = minetest.get_translator("pipeworks") local assumed_eye_pos = vector.new(0, 1.5, 0) -local function vector_copy(v) - return { x = v.x, y = v.y, z = v.z } -end - local function delay(x) return (function() return x end) end @@ -353,7 +349,7 @@ if pipeworks.enable_node_breaker then {pos=pointed_thing.under, gain=sound.gain}) end wieldstack = virtplayer:get_wielded_item() - else + --~ else --pipeworks.logger(dname.."couldn't dig node!") end end |