Skip to content

Commit

Permalink
Version 1.1.8
Browse files Browse the repository at this point in the history
Catch breakables
  • Loading branch information
bermudalocket committed Jan 7, 2019
1 parent b5a0c5e commit fe481ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>SafeBuckets</groupId>
<artifactId>SafeBuckets</artifactId>
<version>1.1.7-SNAPSHOT</version>
<version>1.1.8</version>
<packaging>jar</packaging>
<name>SafeBuckets</name>
<description>Make water non-flowing for water from buckets</description>
Expand Down Expand Up @@ -100,4 +100,4 @@
</plugins>
</pluginManagement>
</build>
</project>
</project>
4 changes: 4 additions & 0 deletions src/nu/nerd/SafeBuckets/SafeBucketsListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ public void onPlayerBucketEmpty(PlayerBucketEmptyEvent event) {
SafeBuckets.setSafe(relativeBlock, true);
} else if (Util.AIR_BLOCKS.contains(relativeBlock.getType())) {
SafeBuckets.setSafe(relativeBlock, true);
} else {
// it is safebuckets, after all
SafeBuckets.setSafe(relativeBlock, true);
SafeBuckets.setSafe(clickedBlock, true);
}
return;
}
Expand Down

0 comments on commit fe481ad

Please sign in to comment.