Nightly Build (Serverside) Causing Server To Crash

I'm trying to run my Forge 1.18.2-40.2.18 (Java 21) server with the nightly build of DH, but it crashes saying "Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER"
I have no clue why it's doing this as I was using the nightly build for 1.20 on a server not too long ago without much issue.
Was this page helpful?