From 5b7e75839fb902642c4adcc78366f1b3b09f4664 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 23 Sep 2013 13:19:00 -0500 Subject: [PATCH] Actually display correct effect duration in seconds. Fixes BUKKIT-3983 By: feildmaster --- .../main/java/org/bukkit/command/defaults/EffectCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/command/defaults/EffectCommand.java b/paper-api/src/main/java/org/bukkit/command/defaults/EffectCommand.java index 1d5f8be6d5..7d0662e1b3 100644 --- a/paper-api/src/main/java/org/bukkit/command/defaults/EffectCommand.java +++ b/paper-api/src/main/java/org/bukkit/command/defaults/EffectCommand.java @@ -100,7 +100,7 @@ public class EffectCommand extends VanillaCommand { final PotionEffect applyEffect = new PotionEffect(effect, duration, amplification); player.addPotionEffect(applyEffect, true); - broadcastCommandMessage(sender, String.format("Given %s (ID %d) * %d to %s for %d seconds", effect.getName(), effect.getId(), amplification, args[0], duration / 20D)); + broadcastCommandMessage(sender, String.format("Given %s (ID %d) * %d to %s for %d seconds", effect.getName(), effect.getId(), amplification, args[0], duration_temp)); } return true;