WaterSpout with SNOW_BLOCK

Fixed an issue in which WaterSpout was not working with snow blocks.
This commit is contained in:
nathank33 2014-09-13 22:02:55 -07:00
parent d68a519fd7
commit 85ce6fb00a

View file

@ -49,7 +49,8 @@ public class WaterSpout {
topBlock = player.getLocation().getBlock();
Material mat = topBlock.getType();
if(mat != Material.WATER && mat != Material.STATIONARY_WATER
&& mat != Material.ICE && mat != Material.PACKED_ICE && mat != Material.SNOW)
&& mat != Material.ICE && mat != Material.PACKED_ICE && mat != Material.SNOW
&& mat != Material.SNOW_BLOCK)
return;
new Flight(player);