mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-24 10:11:25 +01:00
Corrected Javadoc
This commit is contained in:
parent
3734c071bf
commit
b2ebbb9b55
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user