Closed x1p closed 4 years ago
I can't replicate this right now - do the players receive a message saying that the limit has been reached when they try to breed the animals? I did not see that in your report:
That message appears indeed but the limit was not reached according to the limits GUI and confirmed by manually counting.
Please try this version that has debug. Try to spawn a cow and see what it says in the console. Please copy and paste here. It should look something like this:
[17:01:19 INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[17:01:19 INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[17:01:19 INFO]: [BentoBox] DEBUG: Count = 16
Limits-1.15.0-debug-SNAPSHOT-LOCAL.jar.zip Also, share your config.yml because I'd like to see what it is.
On the off-chance that this is a duplication issue - please try this version too and see if it helps: Limits-1.15.0-debug-SNAPSHOT-LOCAL.jar.zip
First plugin's output when trying to spawn: (only 1 attempt to spawn, the rest of the debug messages is prob. from other entities)
[08:20:45 INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:20:45 INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:20:45 INFO]: [BentoBox] DEBUG: Count = 5
[08:20:45 INFO]: [BentoBox] DEBUG: Checking group limits
[08:20:47 INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:20:47 INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:20:47 INFO]: [BentoBox] DEBUG: Count = 6
[08:20:47 INFO]: [BentoBox] DEBUG: Checking group limits
[08:20:47 INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:20:47 INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:20:47 INFO]: [BentoBox] DEBUG: Count = 5
[08:20:47 INFO]: [BentoBox] DEBUG: Checking group limits
[08:20:47 INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:20:47 INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:20:47 INFO]: [BentoBox] DEBUG: Count = 6
[08:20:47 INFO]: [BentoBox] DEBUG: Checking group limits
[08:20:47 INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:20:47 INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:20:47 INFO]: [BentoBox] DEBUG: Count = 20
[08:20:56 INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:20:56 INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:20:56 INFO]: [BentoBox] DEBUG: Count = 7
[08:20:56 INFO]: [BentoBox] DEBUG: Checking group limits
Plugin 2:
[08:29:33] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:33] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:33] [Server thread/INFO]: [BentoBox] DEBUG: Count = 20
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Count = 20
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Count = 20
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Count = 20
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Count = 20
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:34] [Server thread/INFO]: [BentoBox] DEBUG: Count = 20
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Count = 5
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Checking group limits
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Island LimitAmount = -1
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Global LimitAmount = 16
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Count = 4
[08:29:38] [Server thread/INFO]: [BentoBox] DEBUG: Checking group limits
Fyi: the real number of cows on this island is 8/16. Is it possible that Limits confuses mushroom_cows with (normal) cows?
Yes! That is it! Mushroom cow is a subclass of cow, so when cows are requested, it gets them too. I will fix this now.
Please try the latest build.
Works like a charm again 👍
Description Cows won't breed while their number is way under the limit. It seems to involve many islands, but not all. In order to eliminate the possible cause is tried:
8 / 16
cowsSteps to reproduce the behavior:
Expected behavior Consistent breeding until limit is reached
Screenshots If applicable, add screenshots to help explain your problem.
Server Information:
[Please complete the following information:]