Fix setEggCount method from TurtleLayEggEvent (#8385)

This commit is contained in:
Lulu13022002 2022-09-24 18:34:20 +02:00
parent aba5839fde
commit f059f8fce5

View file

@ -129,7 +129,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ cancelled = true; + cancelled = true;
+ return; + return;
+ } + }
+ eggCount = Math.min(eggCount, 4); + this.eggCount = Math.min(eggCount, 4);
+ } + }
+ +
+ @Override + @Override