That's good news! However, spark plugs usually go bad for a reason. It sounds like you have an underlying issue that still needs to be resolved.
On the bright side of this, is the spark plug will give you an indication of what the issue is. By looking at how it's burning, you can tell what's going on there. If the problem comes up again, for the sake of long term engine health, and reliability, you'll need to find out why.