Can't cover spiked pit with plank

Trying to cover some spiked pits around an LMOE shelter with planks and it isn’t working, not even when I’m wielding a plank and have several more with me. Was this function changed or abolished for some reason, or is the command do so no longer [e]xamining the pit with planks available?

Might only work for regular pits perhaps, I did not test this though

I’ve done it before in earlier games, but I took a fairly-long break until recently.