Created
October 29, 2015 23:29
-
-
Save shinji257/08fdd9def308a45e84cc to your computer and use it in GitHub Desktop.
Modify forge for old bungeecord builds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prep -- Clean and reset git repo... | |
1) Open patches/minecraft/net/minecraft/network/handshake/client/C00Handshake.java.patch | |
2) Modify line 35 to read this... | |
+ p_148840_1_.func_180714_a(this.field_149598_b/* + "\0FML\0"*/); | |
3) Run this code... | |
export BUILD_NUMBER=# | |
./gradlew ciWriteBuildNumber | |
./gradlew build | |
Notes: | |
BUILD_NUMBER -- must be set to a build number (no suffix due to 2nd line) | |
src/main/java/net/minecraftforge/common/ForgeVersion.java -- buildVersion == 0 here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment