Corrected Javadoc

This commit is contained in:
Dark Arc 2012-11-06 18:01:13 -05:00
parent 3734c071bf
commit b2ebbb9b55

View File

@ -155,6 +155,17 @@ public static boolean isWaterPotion(Potion potion) {
return potion.getType() == PotionType.WATER; 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. * 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 * Blocks above the player will be iteratively tested until there is