YUNG-GANG / YUNGs-API

API for my Minecraft mods
GNU Lesser General Public License v3.0
22 stars 12 forks source link

Fix importing class that doesn't exist on the server side #40

Closed pupnewfster closed 1 year ago

pupnewfster commented 1 year ago

When doing some experimentation locally I ran into a crash server side that seems to have been caused by https://github.com/YUNG-GANG/YUNGs-API/commit/2b5031fdb575467b0fb721a7216da598d734971f changing the import for creating a new array list from com.google.common.collect.Lists to org.apache.commons.compress.utils.Lists. The latter of these two is not present on the server side (though it seems to be present client side).

As nowhere else in this project seems to make use of google lists and instead just creates the array lists normally I decided rather than just reversing the import change to instead also switch it to just creating the array list directly.

yungnickyoung commented 1 year ago

Auto-import will always be the bane of my existence lol. Thanks for the help!