mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fix setCapacity typo in a warn of AGenerator.java (#4227)
This commit is contained in:
parent
9a64617609
commit
7d2ccc261f
@ -268,7 +268,7 @@ public abstract class AGenerator extends AbstractEnergyProvider implements Machi
|
|||||||
|
|
||||||
if (getCapacity() < 0) {
|
if (getCapacity() < 0) {
|
||||||
warn("The capacity has not been configured correctly. The Item was disabled.");
|
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) {
|
if (getEnergyProduction() <= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user