Jump to content

Decompilation snag


Jwosty

Recommended Posts

DISCLAIMER: I'm not really sure this kind of post is okay in this board, but anyway, I feel like this needs to be here.

 

I've recently had much trouble using MCP for MC 1.6.2 on OSX; it stopped decompiling with this error:

 

...

== ERRORS FOUND in JAVA CODE ==

src/minecraft/net/minecraft/src/ChatMessageComponent.java:256: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                var7.append(StatCollector.translateToLocalFormatted(this.field_111090_h, var13));
                                                                                         ^

src/minecraft/net/minecraft/src/RenderBlocks.java:4972: missing return statement
    }
    ^

1 error
1 warning
==================

Initial client recompile failed, correct source then run updatemd5

 

But lucky for you if you're running into this to; I've found the solution! Change the following line in

conf/mcp.cfg

:

CmdFernflower = %s -jar %s -din=0 -rbr=0 -dgs=1 -asc=1 -log=WARN {indir} {outdir}

to:

CmdFernflower = %s -Xmx512M -jar %s -din=0 -rbr=0 -dgs=1 -asc=1 -log=WARN {indir} {outdir}

 

Problem solved! This was in commit 4762d4d, so if you're using the latest source, this shouldn't happen anyway. Hope this helped someone. :)

I like to make mods, just like you. Here's one worth checking out

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.