I most likely cooked because it got too much voltage/current. You could put one in that takes more of that but...that's kinda like fixing a 20A fuse that keeps popping by putting in a 30A fuse. It might stop that from frying but something else (wiring, led, resistor, etc) down the road is going to get more than it expected and probably end up cooking instead.