Skip to content

Commit

Permalink
Update for Forge 1.14.4
Browse files Browse the repository at this point in the history
  • Loading branch information
freneticfeline committed Jul 29, 2019
1 parent da7c567 commit 87a3025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = "1.14.3-1.7b2"
version = "1.14.4-1.7b2"
group= "net.unladenswallow.minecraft.autofish" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "mod_autofish_forge"

Expand All @@ -25,7 +25,7 @@ minecraft {
// stable_# Stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not always work.
// Simply re-run your setup task after changing the mappings to update your workspace.
mappings channel: 'snapshot', version: '20190621-1.14.2'
mappings channel: 'snapshot', version: '20190719-1.14.3'
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.

// accessTransformer = file('build/resources/main/META-INF/accesstransformer.cfg')
Expand Down Expand Up @@ -71,7 +71,7 @@ dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft 'net.minecraftforge:forge:1.14.3-27.0.50'
minecraft 'net.minecraftforge:forge:1.14.4-28.0.23'

// You may put jars on which you depend on in ./libs or you may define them like so..
// compile "some.group:artifact:version:classifier"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,10 +656,10 @@ private void setTicksCatchableDelay(FishingBobberEntity hook, int ticks) {
}

private ServerPlayerEntity getServerPlayerEntity() {
if (this.minecraftClient.getIntegratedServer() == null || this.minecraftClient.getIntegratedServer().getWorld(DimensionType.field_223227_a_ /* OVERWORLD */) == null) {
if (this.minecraftClient.getIntegratedServer() == null || this.minecraftClient.getIntegratedServer().getWorld(DimensionType.OVERWORLD) == null) {
return null;
} else {
return this.minecraftClient.getIntegratedServer().getWorld(DimensionType.field_223227_a_ /* OVERWORLD */)
return this.minecraftClient.getIntegratedServer().getWorld(DimensionType.OVERWORLD)
.getPlayers((p) -> p.getName().getString().equals(this.minecraftClient.player.getName().getString()))
.get(0);
}
Expand Down

0 comments on commit 87a3025

Please sign in to comment.