File tree Expand file tree Collapse file tree 3 files changed +45
-1
lines changed
Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ij_xml_space_inside_empty_tag = true
3434trim_trailing_whitespace = false
3535ij_properties_keep_blank_lines = true
3636
37- [* .{json,info,mcmeta} ]
37+ [* .{json,info,mcmeta,yml } ]
3838indent_style = space
3939indent_size = 2
4040
Original file line number Diff line number Diff line change 1+ # Forge side fix
2+
3+ [ ![ Release] ( https://jitpack.io/v/RedServer/ForgeSideFix.svg )] ( https://jitpack.io/#RedServer/ForgeSideFix )
4+
5+ Fixes Minecraft crash issue caused by incorrect ` Side.BUKKIT `
6+ Issue: https://github.com/MinecraftForge/ForgeGradle/issues/748
7+
8+ ```
9+ net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Forge Mod Loader (FML)
10+ Caused by: java.lang.NullPointerException
11+ at net.minecraftforge.fml.common.network.NetworkRegistry.newChannel(NetworkRegistry.java:207)
12+ at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.registerChannel(FMLNetworkHandler.java:185)
13+ at net.minecraftforge.fml.common.FMLContainer.modConstruction(FMLContainer.java:92)
14+ ```
15+
16+ This mod removes ` BUKKIT ` side in runtime to prevent crash.
17+
18+ ## Installation
19+
20+ 1 . You can [ download the file] ( https://github.com/RedServer/ForgeSideFix/releases ) and put it in your project mods directory (run/mods).
21+ 2 . OR you can add this mod as dependency in classpath by adding in your ** build.gradle** :
22+
23+ ``` groovy
24+ repositories {
25+ // ...
26+ maven {
27+ url = 'https://jitpack.io'
28+ content {
29+ includeGroup 'com.github'
30+ }
31+ }
32+ // ...
33+ }
34+
35+ dependencies {
36+ // ...
37+ runtimeOnly 'com.github.RedServer:ForgeSideFix:1.12.2-1.0'
38+ // ...
39+ }
40+ ```
Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk8
3+ install :
4+ - ./gradlew clean build publishToMavenLocal --no-daemon
You can’t perform that action at this time.
0 commit comments