Skip to content

Commit 75cdfb7

Browse files
committed
Add jitpack config
1 parent 2d7ccd0 commit 75cdfb7

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ij_xml_space_inside_empty_tag = true
3434
trim_trailing_whitespace = false
3535
ij_properties_keep_blank_lines = true
3636

37-
[*.{json,info,mcmeta}]
37+
[*.{json,info,mcmeta,yml}]
3838
indent_style = space
3939
indent_size = 2
4040

ReadMe.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
```

jitpack.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jdk:
2+
- openjdk8
3+
install:
4+
- ./gradlew clean build publishToMavenLocal --no-daemon

0 commit comments

Comments
 (0)