Skip to content

Commit

Permalink
Fix setCapacity typo in a warn of AGenerator.java (#4227)
Browse files Browse the repository at this point in the history
  • Loading branch information
RenanMsV authored Sep 6, 2024
1 parent 9a64617 commit 7d2ccc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7d2ccc2

Please sign in to comment.