Try this.
Index: dist/game/data/scripts/ai/others/FeedableBeasts.java
===================================================================
--- dist/game/data/scripts/ai/others/FeedableBeasts.java (revision 9774)
+++ dist/game/data/scripts/ai/others/FeedableBeasts.java (working copy)
@@ -342,6 +342,17 @@
private void spawnNext(Npc npc, int growthLevel, PlayerInstance player, int food)
{
+ if (npc.isScriptValue(1))
+ {
+ return;
+ }
+ npc.setScriptValue(1);
+
+ if (!npc.isSpawned())
+ {
+ return;
+ }
+
final int npcId = npc.getNpcId();
int nextNpcId = 0;