minetest-mods / anvil

Minetest mod providing an anvil with which to repair worn tools
GNU General Public License v3.0
14 stars 18 forks source link

add tnt compatibility #37

Closed fluxionary closed 10 months ago

fluxionary commented 10 months ago
  1. drop the item in the anvil (currently it is just lost)
  2. remove the entity (currently it can persist without the anvil)
OgelGames commented 10 months ago

Looks like this is missing code to preserve the anvil's shared state, as is done when digging the anvil: https://github.com/minetest-mods/anvil/blob/cafef4eb9c1f8ddf3f1ac484c87929920dcf7020/init.lua#L238-L245