Skip to content

Commit

Permalink
minor stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Nov 11, 2023
1 parent 59fb9e8 commit 2caaf05
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ subprojects {
java.withJavadocJar()

jar {
from(rootProject.file("LICENSE")) {
rename { "${it}_${mod_id}" }
}
manifest {
attributes([
"Specification-Title" : mod_id,
"Specification-Vendor" : "BlayTheNinth",
"Specification-Version" : "1",
"Specification-Version" : project.jar.archiveVersion,
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Vendor" : "BlayTheNinth"
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ publishing {
}
}
}
3

task curseforge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) {
dependsOn('build')
description = 'Publishes the Forge build to CurseForge.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
import net.minecraft.world.level.levelgen.feature.ConfiguredFeature;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.ForgeMod;
import net.minecraftforge.common.ToolActions;
import net.minecraftforge.common.util.FakePlayer;
import net.minecraftforge.event.ForgeEventFactory;
import net.minecraftforge.eventbus.api.Event;
import net.minecraftforge.fluids.FluidUtil;
Expand Down Expand Up @@ -73,7 +71,7 @@ public void curePotionEffects(LivingEntity entity, ItemStack curativeItem) {

@Override
public boolean isFakePlayer(Player player) {
return player instanceof FakePlayer;
return false;
}

@Override
Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ pack_format_number=18
java_version = 17

# Forge
forge_version = 48.0.13
forge_version = 48.0.37
forge_version_range=[48,)
forge_loader_version_range=[48,)
forge_mixins=true

# NeoForge
neoforge_version = 20.2.47-beta
Expand Down
2 changes: 1 addition & 1 deletion shared/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id 'idea'
id 'java'
id 'org.spongepowered.gradle.vanilla'
id 'maven-publish'
id 'org.spongepowered.gradle.vanilla'
}

base {
Expand Down

0 comments on commit 2caaf05

Please sign in to comment.