Supplementaries

Supplementaries

82M Downloads

[❓]: What is the stuff function used for in Credits.java?

moonleay opened this issue · 2 comments

commented

Your Question

What is the stuff function used for in Credits.java?

Detail

There is an unused function named "stuff" in Credits.java, which opens an URLConnection to a bit.ly address. Whilest it is commented in the source code, it is still included in the fabric version for 1.19.2 when downloading the binaries. What is this function used for? It seems to be an uncalled function. The function seems to be changed in versions of the mod made for 1.20.

Screenshot of decompiled binary for 1.19
image

Screenshot of decompiled binary for 1.20
image

Link to function in source code (with commented URLConnection)

The bit.ly link seems to redirect to Google.

commented

might be some code when i was tyring to figure out how connection stuff worked when i was tyring to fetch these files. They are currently fetched from github. I should clean that class up really

commented

Ah, this makes sense. Thank you for clarifying!