Skip to content

Commit

Permalink
- Version 1.3.17 for Fabric fix when BetterEnd is not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
OroArmor committed Feb 9, 2021
1 parent 0842a65 commit 1bc5bbd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ task generateChangelog {
if (changes.length() == 1) {
changes << processedLine
} else {
if(processedLine.trim() != "")
changes << "\n - $processedLine"
if(processedLine.trim() != "" && processedLine.startsWith("-"))
changes << "\n$processedLine"
}
}
commits.err.eachLine { line -> println line }
Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ dependencies {
"com.github.emilyploszaj:trinkets:${project.trinkets}",
"com.misterpemodder:shulkerboxtooltip:${project.shulkerboxtooltip}+"+/*${project.minecraft_version}*/"1.16.4",
"curse.maven:betterend-413596:3168267"
], true)
], false)

modCompile("io.github.prospector:modmenu:${project.modmenu}") {
exclude(module: "fabric-api")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ public void acceptTargets(Set<String> myTargets, Set<String> otherTargets) {
@Override
public List<String> getMixins() {
return new ArrayList<String>() {{
this.add("better_end.NetheriteAnvilScreenHandlerMixin");
this.add("better_end.NetheriteAnvilScreenMixin");
if(FabricLoader.getInstance().isModLoaded("betterend")) {
this.add("better_end.NetheriteAnvilScreenHandlerMixin");
if (FabricLoader.getInstance().getEnvironmentType() == EnvType.CLIENT) {
this.add("better_end.NetheriteAnvilScreenMixin");
}
}
}};
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx2G
minecraft_version=1.16.5
fabric_loader_version=0.11.1
# Mod Properties
mod_version=1.3.16
mod_version=1.3.17
maven_group=com.oroarmor
archives_base_name=netherite-plus-mod
project_name=Netherite Plus Mod
Expand Down

0 comments on commit 1bc5bbd

Please sign in to comment.