Exemplo n.º 1
0
 private void cancelPrevious() {
   LavaSurgeWall lavaWall = getAbility(player, LavaSurgeWall.class);
   if (lavaWall != null) {
     if (lavaWall.progressing) {
       lavaWall.removeLava(lavaWall.sourceBlock);
     } else {
       lavaWall.cancel();
     }
   }
 }
Exemplo n.º 2
0
 public static void moveLava(Player player) {
   LavaSurgeWall wall = getAbility(player, LavaSurgeWall.class);
   if (wall != null) {
     wall.moveLava();
   }
 }