mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-6482: Baby piglins will pick up more items than vanilla
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d5fb854202
commit
14af2c0a70
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
|||
Item item = itemstack.getItem();
|
||||
|
||||
- if (a(item)) {
|
||||
+ if (a(entitypiglin, itemstack)) { // CraftBukkit - Changes to allow for custom payment in bartering
|
||||
+ if (isLovedByPiglin(item, entitypiglin)) { // CraftBukkit - Changes to allow for custom payment in bartering
|
||||
entitypiglin.getBehaviorController().removeMemory(MemoryModuleType.TIME_TRYING_TO_REACH_ADMIRE_ITEM);
|
||||
c(entitypiglin, itemstack);
|
||||
d((EntityLiving) entitypiglin);
|
||||
|
|
Loading…
Add table
Reference in a new issue