Solved Help with custom patches

Discussion in 'BungeeCord Plugin Development' started by Vytska111, Jan 18, 2020.

  1. I'm not sure where to put this thread so I'm putting it here.
    I'm trying to make a custom BungeeCord build. I'm following this tutorial: https://www.spigotmc.org/threads/tutorial-adding-custom-patches-to-bungee-cord.301528/
    I don't really want to revive that thread because it's a year old.
    I created a custom patch and then applied it to the latest version of bungee with some files the tutorial provided. I used applyPatches.sh to patch bungee, it worked. But the patch added some lines that are not commented, those lines contain the commit message, and that caused some java errors. Here are the lines: https://pastebin.com/EjPUYFEU. I think it's an issue with the applyPatches.sh file that the tutorial provided.
    Please help me eliminate that issue, thanks.
     
  2. The .sh file from the tutorial doesnt add any comment to the code.
     
  3. I don't really know, but that just happens. I think it adds those lines before changing the file with the patch. It would be fine if those lines would be commented.