Reduce blindess duration

This commit is contained in:
CocoTheOwner 2021-03-09 23:26:40 +01:00
parent dcae312d2c
commit 00854e2ea7

View File

@ -63,7 +63,7 @@ public class IrisProject
return; return;
} else if(sender.isPlayer()){ } else if(sender.isPlayer()){
sender.player().setGameMode(GameMode.SPECTATOR); sender.player().setGameMode(GameMode.SPECTATOR);
sender.player().addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, 2000, 10)); sender.player().addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, 500, 10));
sender.player().spigot().sendMessage(ChatMessageType.ACTION_BAR, TextComponent.fromLegacyText(C.BLUE + "Creating studio world. Please wait...")); sender.player().spigot().sendMessage(ChatMessageType.ACTION_BAR, TextComponent.fromLegacyText(C.BLUE + "Creating studio world. Please wait..."));
} }