mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixes #1883
This commit is contained in:
parent
c4a3cdc833
commit
6553aeb3e1
@ -43,6 +43,7 @@
|
|||||||
* Fixed #1908
|
* Fixed #1908
|
||||||
* Fixed #1903
|
* Fixed #1903
|
||||||
* Fixed Organic Food/Fertilizer not being recognized
|
* Fixed Organic Food/Fertilizer not being recognized
|
||||||
|
* Fixed #1883
|
||||||
|
|
||||||
## Release Candidate 11 (25 Apr 2020)
|
## Release Candidate 11 (25 Apr 2020)
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public class AutoBreeder extends SlimefunItem implements InventoryBlock, EnergyN
|
|||||||
if (n.isValid() && n instanceof Animals) {
|
if (n.isValid() && n instanceof Animals) {
|
||||||
Animals animal = (Animals) n;
|
Animals animal = (Animals) n;
|
||||||
|
|
||||||
return animal.isAdult() && !animal.isLoveMode();
|
return animal.isAdult() && animal.canBreed() && !animal.isLoveMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user