Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
remove speed when finished
Browse files Browse the repository at this point in the history
  • Loading branch information
HeathLoganCampbell committed Nov 9, 2019
1 parent cfa594d commit 4ac878c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void onStart()
@Override
public void onFinish()
{

Bukkit.getOnlinePlayers().forEach(player -> player.removePotionEffect(PotionEffectType.SPEED));
}

@EventHandler
Expand Down

0 comments on commit 4ac878c

Please sign in to comment.