Skip to content

Commit

Permalink
Corrected Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkArc committed Nov 6, 2012
1 parent 3734c07 commit b2ebbb9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/com/sk89q/worldguard/bukkit/BukkitUtil.java
Expand Up @@ -155,6 +155,17 @@ public static boolean isWaterPotion(Potion potion) {
return potion.getType() == PotionType.WATER;
}

/**
* Checks if the given potion is a vial of water
*
* @param potion
* @return true if it's a water vial
*/
public static boolean isWaterPotion(Potion potion) {

return potion.getType() == PotionType.WATER;
}

/**
* Find a position for the player to stand that is not inside a block.
* Blocks above the player will be iteratively tested until there is
Expand Down

0 comments on commit b2ebbb9

Please sign in to comment.