mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
WaterSpout with SNOW_BLOCK
Fixed an issue in which WaterSpout was not working with snow blocks.
This commit is contained in:
parent
d68a519fd7
commit
85ce6fb00a
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue