diff options
author | Lulu13022002 <[email protected]> | 2022-09-24 18:34:20 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-24 18:34:20 +0200 |
commit | 6d630052fda16e11b12dc543e2e29e31f4f72639 (patch) | |
tree | bad97570cf3c04dc4b5889c16f14d42c1bffde87 | |
parent | b4c025b92c48fb2b55a7433f85627184aee5d90a (diff) | |
download | Paper-6d630052fda16e11b12dc543e2e29e31f4f72639.tar.gz Paper-6d630052fda16e11b12dc543e2e29e31f4f72639.zip |
Fix setEggCount method from TurtleLayEggEvent (#8385)
-rw-r--r-- | patches/api/0161-Turtle-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0161-Turtle-API.patch b/patches/api/0161-Turtle-API.patch index c2dfe44090..a8eec937cc 100644 --- a/patches/api/0161-Turtle-API.patch +++ b/patches/api/0161-Turtle-API.patch @@ -61,7 +61,7 @@ index 0000000000000000000000000000000000000000..021356d151ed638068e3e89b8cc77b37 +} diff --git a/src/main/java/com/destroystokyo/paper/event/entity/TurtleLayEggEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/TurtleLayEggEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..a315c5185cd465dcf63c0ababef195da76dfc786 +index 0000000000000000000000000000000000000000..bcc8dba50e3a3df0206c4827bb468bf884837b8b --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/event/entity/TurtleLayEggEvent.java @@ -0,0 +1,87 @@ @@ -129,7 +129,7 @@ index 0000000000000000000000000000000000000000..a315c5185cd465dcf63c0ababef195da + cancelled = true; + return; + } -+ eggCount = Math.min(eggCount, 4); ++ this.eggCount = Math.min(eggCount, 4); + } + + @Override |