Skip to content

Commit

Permalink
Fix flowing of bubble columns with /flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
totemo committed Oct 7, 2019
1 parent c247907 commit 0433338
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 @@ -440,7 +440,9 @@ private void handlePlayerFlow(PlayerInteractEvent event) {
return;
}

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)) {
event.setCancelled(true);
if (SafeBuckets.isPlayerFlowPermitted(player, relativeBlock)) {
Expand Down

0 comments on commit 0433338

Please sign in to comment.