position datatype error

luciferleftwing
Member
 
Posts: 10
Joined: Tue Oct 23, 2012 14:21

position datatype error

by luciferleftwing » Tue Nov 13, 2012 21:49

trying to use the function minetest.env.punch_node i do always get this error
bad argument #1 to 'punch_node' (userdata expected, got table)

using the same variable in for example minetest.node_punch doesn't create problems i fail to understand my mistake :P
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Wed Nov 14, 2012 07:39

It is minetest.env:punch_node (with :, not a .) I think.
I had the same error :D
Last edited by Zeg9 on Wed Nov 14, 2012 07:40, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

luciferleftwing
Member
 
Posts: 10
Joined: Tue Oct 23, 2012 14:21

by luciferleftwing » Thu Nov 15, 2012 06:13

thanks
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 25 guests

cron