Jump to content

10.12.1.1060 Forge Gradle Patch Reject


Eastonium

Recommended Posts

I just used the latest version of forge to create a new workspace and such, and I don't know if this is concerning, but when I ran the setupDecompWorkspace command, when it was patching the minecraft files it "rejected" the patch for the WorldGenDungeons.java file. Here's what it said:

Patching failed: net/minecraft/world/gen/feature/WorldGenDungeons.java Cannot find hunk target
  2: Cannot find hunk target @ 0
  1/3 failed
  Rejects written to C:\Users\FamilyVII\Desktop\mcp172\NuiCraft\build\tmp\expandedArchives\forgepatches.zi
p_7m9h85aricudh12fe2i8mr2eam\net\minecraft\world\gen\feature\WorldGenDungeons.java.patch.rej

just thought the forge people would want to know about this!

 

Link to comment
Share on other sites

Here's whats in the file:

++++ REJECTED PATCH 2
                                 if (k2 == 1)
                                 {
                                     p_76484_1_.func_147465_d(i2, p_76484_4_, j2, Blocks.field_150486_ae, 0, 2);
-                                    WeightedRandomChestContent[] aweightedrandomchestcontent = WeightedRandomChestContent.func_92080_a(field_111189_a, new WeightedRandomChestContent[] {Items.field_151134_bR.func_92114_b(p_76484_2_)});
                                     TileEntityChest tileentitychest = (TileEntityChest)p_76484_1_.func_147438_o(i2, p_76484_4_, j2);

                                     if (tileentitychest != null)
                                     {
-                                        WeightedRandomChestContent.func_76293_a(p_76484_2_, aweightedrandomchestcontent, tileentitychest, ;
+                                        WeightedRandomChestContent.func_76293_a(p_76484_2_, ChestGenHooks.getItems(DUNGEON_CHEST, p_76484_2_), tileentitychest, ChestGenHooks.getCount(DUNGEON_CHEST, p_76484_2_));
                                     }

                                     break label101;
++++ END PATCH

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.



×
×
  • Create New...

Important Information

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