minetest-mods / item_drop

A highly configurable mod providing item magnet and in-world node drops
https://forum.minetest.net/viewtopic.php?t=16913
GNU Lesser General Public License v2.1
13 stars 12 forks source link

Do not crash when picking up a node with deprecated tile definition #40

Closed HybridDog closed 2 years ago

HybridDog commented 2 years ago

If image instead of tile was used, the mod passed nil to minetest.inventorycube. The color field of a tile is now also supported (the code is used only for the particle image calculation).

This should fix #38.

SmallJoker commented 2 years ago

This should fix https://github.com/minetest-mods/item_drop/issues/38.

Well, does it?

HybridDog commented 2 years ago

Well, does it?

Yes, the problem no longer happened when I tested it.