Skip to content

Commit

Permalink
Removed slowness effect from player during countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
shantek committed May 23, 2024
1 parent cec1df4 commit 09705a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/io/shantek/BingoCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ public void startBingo(Player commandPlayer) {
onlinePlayers.forEach(player -> {

// Freeze players
player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 100000, 10, false, false));
player.setWalkSpeed(0);

Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> {
Expand Down Expand Up @@ -227,7 +226,6 @@ public void startBingo(Player commandPlayer) {
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> {


// Work out the game time to display
String timeLimitString;
if (ultimateBingo.gameTime == 0) {
timeLimitString = "Time Limit: Unlimited Time";
Expand Down

0 comments on commit 09705a8

Please sign in to comment.