diff --git a/gradle.properties b/gradle.properties index 4eb84b7..88af7f9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx1G # Mod Properties -mod_version = 0.10.0-SNAPSHOT +mod_version = 0.10.1-SNAPSHOT maven_group = troy.autofish archives_base_name = autofish diff --git a/src/main/java/troy/autofish/Autofish.java b/src/main/java/troy/autofish/Autofish.java index 4b853b9..03cd0a1 100644 --- a/src/main/java/troy/autofish/Autofish.java +++ b/src/main/java/troy/autofish/Autofish.java @@ -177,7 +177,7 @@ private void detectOpenWater(FishingBobberEntity bobber){ int y = bobber.getBlockY(); int z = bobber.getBlockZ(); boolean flag = true; - for(int yi = -1; yi <= 2; yi++){ + for(int yi = -2; yi <= 2; yi++){ if(!(BlockPos.stream(x - 2, y + yi, z - 2, x + 2, y + yi, z + 2).allMatch((blockPos -> // every block is water bobber.getEntityWorld().getBlockState(blockPos).getBlock() == Blocks.WATER