3 Commits

Author SHA1 Message Date
f83705bb6c Merge remote-tracking branch 'upstream/master' 2020-10-28 21:19:37 +01:00
ec56bc4325 Update README.md 2020-10-26 17:20:04 +09:00
2f63c8aa42 Fix occasional crash with capture tool 2020-08-16 09:55:05 +02:00
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
※ This repository has not been actively updated for a long time.
# Maidroid
<img src=http://i.imgur.com/oWjrLtK.png>

View File

@ -14,6 +14,7 @@ minetest.register_tool("maidroid_tool:capture_rod", {
local obj = pointed_thing.ref
local luaentity = obj:get_luaentity()
if not luaentity then return end
if not maidroid.is_maidroid(luaentity.name) then
if luaentity.name == "__builtin:item" then
luaentity:on_punch(user)