Skip to content
Permalink
Browse files

Spigot changed again :)

  • Loading branch information...
me4502 committed Dec 1, 2018
1 parent 5bc8c46 commit bebabf58472ac73b1f6028fafa934af1e635901d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/craftbook/mechanics/Snow.java
@@ -499,7 +499,7 @@ boolean decreaseSnow(Block snow, boolean disperse) {
snow.setBlockData(snowData, false);
} else {
org.bukkit.block.data.type.Snow snowData = (org.bukkit.block.data.type.Snow) snow.getBlockData();
if (snowData.getLayers() == 0) {
if (snowData.getLayers() == snowData.getMinimumLayers()) {
snow.setType(Material.AIR, false);
} else {
snowData.setLayers(snowData.getLayers() - 1);

0 comments on commit bebabf5

Please sign in to comment.
You can’t perform that action at this time.