tomsik68 / mclauncher-api

Tomsik68's Minecraft Launcher API. Documenting how minecraft launcher works & creating an API which will be able to work with custom launchers. Make sure to check out wiki!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile source on netbeans

ammarx opened this issue · comments

Hi, I downloaded the source code and wanted to compile it in netbeans. However it gives me the following error:

-------------------------------------------------------------
COMPILATION ERROR : 
-------------------------------------------------------------
sk/tomsik68/mclauncher/impl/versions/mcdownload/MCDownloadVersionInstaller.java:[27,23] constructor MCDownloadVersionList in class sk.tomsik68.mclauncher.impl.versions.mcdownload.MCDownloadVersionList cannot be applied to given types;
  required: sk.tomsik68.mclauncher.api.common.mc.MinecraftInstance
  found: no arguments
  reason: actual and formal argument lists differ in length
sk/tomsik68/mclauncher/backend/MinecraftLauncherBackend.java:[44,55] constructor MCDownloadVersionList in class sk.tomsik68.mclauncher.impl.versions.mcdownload.MCDownloadVersionList cannot be applied to given types;
  required: sk.tomsik68.mclauncher.api.common.mc.MinecraftInstance
  found: no arguments
  reason: actual and formal argument lists differ in length
2 errors 
-------------------------------------------------------------

Am I missing something?
Any help regarding this would be great!

Regards,
Ammar Ahmad

Ah.. Seems like downloading it from here:
https://github.com/tomsik68/mclauncher-api/archive/v0.3.1.zip

Fixed it.
I would also like to thank you for your brilliant library. I will sure be using this in my project.

You're right, the current commit can't be compiled. Thank you for notifying me :)