From 4ba949cee7490f6e789e082b34c69c680be88958 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 24 Apr 2024 02:32:44 +1000 Subject: [PATCH] #996: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation() By: 2008Choco --- .../org/bukkit/inventory/meta/components/FoodComponent.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/components/FoodComponent.java b/paper-api/src/main/java/org/bukkit/inventory/meta/components/FoodComponent.java index 8b9f2f1ac4..e5eda7b213 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/components/FoodComponent.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/components/FoodComponent.java @@ -31,14 +31,14 @@ public interface FoodComponent extends ConfigurationSerializable { * * @return saturation value */ - float getSaturationModifier(); + float getSaturation(); /** * Sets the saturation restored by this item when eaten. * - * @param saturationModifier new saturation value + * @param saturation new saturation value */ - void setSaturationModifier(float saturationModifier); + void setSaturation(float saturation); /** * Gets if this item can be eaten even when not hungry.