function EntityCallHandler:destroy_entity(session, response, entity)
assert(entity)
radiant.entities.destroy_entity(entity)
return true
end
return EntityCallHandler
You want to modify the callback that I’m using to something like
function MyBreadHandlerStuff:eat_bread(session, response, self)
radiant.entities.destroy_entity(self)
end