Move FeatureHooks to patch

This commit is contained in:
Nassim Jahnke
2024-12-15 09:49:45 +01:00
parent 42cecc53c1
commit 171fb2ec07
3 changed files with 76 additions and 73 deletions

View File

@@ -30,7 +30,7 @@
if (this.isTamed() && this.getAge() == 0 && this.canFallInLove()) {
flag = true;
- this.setInLove(player);
+ this.setInLove(player, item.copy()); // Paper - Fix EntityBreedEvent copying
+ this.setInLove(player, stack.copy()); // Paper - Fix EntityBreedEvent copying
}
}