mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Fix setEggCount method from TurtleLayEggEvent (#8385)
This commit is contained in:
parent
aba5839fde
commit
f059f8fce5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue