some fixup for last commit

This commit is contained in:
PhanaticD 2019-01-04 06:24:55 -05:00
parent 0ad0a544a3
commit dae0f19fcc
2 changed files with 1 additions and 3 deletions

View file

@ -95,8 +95,6 @@ import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
import static com.projectkorra.projectkorra.ability.ElementalAbility.isAir;
public class GeneralMethods {
// Represents PlayerName, previously checked blocks, and whether they were true or false

View file

@ -149,7 +149,7 @@ public class PKListener implements Listener {
if (ElementalAbility.isLava(fromblock)) {
event.setCancelled(!EarthPassive.canFlowFromTo(fromblock, toblock));
} else if (ElementalAbility.isWater(fromblock)) {
event.setCancelled(ElementalAbility.isAir(toblock.getType()));
event.setCancelled(WaterBubble.isAir(toblock));
if (!event.isCancelled()) {
event.setCancelled(!WaterManipulation.canFlowFromTo(fromblock, toblock));
}