14 Zeilen
328 B
Java
14 Zeilen
328 B
Java
package de.steamwar.fightsystem.utils;
|
|
|
|
import org.bukkit.Material;
|
|
import org.bukkit.block.Block;
|
|
|
|
public class WaterRemover_8 {
|
|
private WaterRemover_8(){}
|
|
|
|
static boolean isWater(Block block){
|
|
Material type = block.getType();
|
|
return type == Material.WATER || type == Material.STATIONARY_WATER;
|
|
}
|
|
}
|