| Time |
Nick |
Message |
| 02:16 |
|
Tesseract joined #minetest-mods |
| 02:17 |
whmark |
anyone here? |
| 02:18 |
whmark |
I've defined a node's `on_use' function all works except this line: |
| 02:19 |
whmark |
return item_stack:take_item(1) |
| 02:19 |
whmark |
doesn't take the item like I expected |
| 02:19 |
|
Miner_48er joined #minetest-mods |
| 02:23 |
whmark |
well it works after first calling `take_item' then returning the item stack |
| 02:23 |
whmark |
the wiki says that should work though |
| 02:47 |
|
Miner_48er joined #minetest-mods |
| 02:55 |
|
Someguy123 joined #minetest-mods |
| 03:43 |
|
Exio4 joined #minetest-mods |
| 12:48 |
|
whmark joined #minetest-mods |
| 14:21 |
|
BrandonReese joined #minetest-mods |
| 14:31 |
|
Wuzzy joined #minetest-mods |
| 16:59 |
|
PilzAdam joined #minetest-mods |
| 17:38 |
|
phantombeta joined #minetest-mods |
| 17:53 |
|
Miner_48er joined #minetest-mods |
| 22:30 |
ShadowNinja |
whmark: You're returning the return value of take_item. I beleive that's either boolean success or nil. |
| 23:57 |
|
Miner_48er joined #minetest-mods |