diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/components/CraftUseCooldownComponent.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/components/CraftUseCooldownComponent.java index 4ff2a11130..e3d947b7b3 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/components/CraftUseCooldownComponent.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/components/CraftUseCooldownComponent.java @@ -38,7 +38,7 @@ public final class CraftUseCooldownComponent implements UseCooldownComponent { Map result = new LinkedHashMap<>(); result.put("seconds", getCooldownSeconds()); if (getCooldownGroup() != null) { - result.put("cooldown-group", getCooldownGroup()); + result.put("cooldown-group", getCooldownGroup().toString()); } return result;