From fe4c2ea5aa3bb6370eae17e32814afa3d0fc568d Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 4 Oct 2022 13:08:43 +0100 Subject: [PATCH] Roundign --- .../core-plugin/src/main/resources/enchants/shulker_harvest.yml | 2 +- eco-core/core-plugin/src/main/resources/vanillaenchants.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/resources/enchants/shulker_harvest.yml b/eco-core/core-plugin/src/main/resources/enchants/shulker_harvest.yml index 4ec5a463..5f58078d 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/shulker_harvest.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/shulker_harvest.yml @@ -1,6 +1,6 @@ display-name: "Shulker Harvest" description: "Gives a &a%placeholder%%&r boost to shulker drops" -placeholder: "((1 / (%level% + 4)) + ((%level% + 3) / 2)) * 100 - 100" +placeholder: "ceil(((1 / (%level% + 4)) + ((%level% + 3) / 2)) * 100 - 100)" type: normal targets: diff --git a/eco-core/core-plugin/src/main/resources/vanillaenchants.yml b/eco-core/core-plugin/src/main/resources/vanillaenchants.yml index 06096dc2..983a69b3 100644 --- a/eco-core/core-plugin/src/main/resources/vanillaenchants.yml +++ b/eco-core/core-plugin/src/main/resources/vanillaenchants.yml @@ -160,7 +160,7 @@ unbreaking: fortune: name: "Fortune" description: "Gives a &a%placeholder%%&r boost to certain block drops" - placeholder: "((1 / (%level% + 2)) + ((%level% + 1) / 2)) * 100 - 100" + placeholder: "ceil(((1 / (%level% + 2)) + ((%level% + 1) / 2)) * 100 - 100)" type: normal rarity: rare