I’m very new to git and plugin stuff, but I made a pull request according to @cpradio’s comment.
https://github.com/discourse/discourse-pirate-speak/pull/2
I’ve also been trying to enable a similar fix for the doi resolver, but haven’t been able to make it work in my dev setup…