Skip to content

Commit

Permalink
Build agains 1.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
freneticfeline committed Jul 29, 2019
1 parent b231dda commit da7c567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 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.2-1.7b2"
version = "1.14.3-1.7b2"
group= "net.unladenswallow.minecraft.autofish" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "mod_autofish_forge"

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.2-26.0.63'
minecraft 'net.minecraftforge:forge:1.14.3-27.0.50'

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

0 comments on commit da7c567

Please sign in to comment.