diff --git a/build.gradle b/build.gradle index 948e113..539126f 100644 --- a/build.gradle +++ b/build.gradle @@ -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" @@ -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') @@ -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" diff --git a/src/main/java/net/unladenswallow/minecraft/autofish/AutoFish.java b/src/main/java/net/unladenswallow/minecraft/autofish/AutoFish.java index 282740e..4458274 100644 --- a/src/main/java/net/unladenswallow/minecraft/autofish/AutoFish.java +++ b/src/main/java/net/unladenswallow/minecraft/autofish/AutoFish.java @@ -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); }