1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 11:15:51 +00:00

Fix setCapacity typo in a warn of AGenerator.java (#4227)

This commit is contained in:
Renan 2024-09-06 09:09:20 -03:00 committed by GitHub
parent 9a64617609
commit 7d2ccc261f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -268,7 +268,7 @@ public abstract class AGenerator extends AbstractEnergyProvider implements Machi
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) {