From 7d2ccc261f6fe42c37e514f76c02aa85635f7786 Mon Sep 17 00:00:00 2001 From: Renan Date: Fri, 6 Sep 2024 09:09:20 -0300 Subject: [PATCH] Fix setCapacity typo in a warn of AGenerator.java (#4227) --- .../Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java index 6a4adb7da9..db5555f6c9 100644 --- a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java +++ b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/AGenerator.java @@ -268,7 +268,7 @@ public void register(@Nonnull SlimefunAddon addon) { if (getCapacity() < 0) { warn("The capacity has not been configured correctly. The Item was disabled."); - warn("Make sure to call '" + getClass().getSimpleName() + "#setEnergyCapacity(...)' before registering!"); + warn("Make sure to call '" + getClass().getSimpleName() + "#setCapacity(...)' before registering!"); } if (getEnergyProduction() <= 0) {