Skip to content

Commit

Permalink
Fix flowing bubble columns with unsafe buckets.
Browse files Browse the repository at this point in the history
  • Loading branch information
totemo committed Oct 7, 2019
1 parent 3ec14cc commit c247907
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nu/nerd/SafeBuckets/SafeBucketsListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ public void onPlayerBucketEmpty(PlayerBucketEmptyEvent event) {
}

// relative block is water or lava
if (relativeBlock.getType() == Material.WATER || relativeBlock.getType() == Material.LAVA) {
if (relativeBlock.getType() == Material.WATER ||
relativeBlock.getType() == Material.LAVA ||
relativeBlock.getType() == Material.BUBBLE_COLUMN) {
if (SafeBuckets.isSafe(relativeBlock)) {
// if it's safe: flow, replenish, exit
SafeBuckets.setSafe(relativeBlock, false);
Expand Down

0 comments on commit c247907

Please sign in to comment.