SPIGOT-6482: Baby piglins will pick up more items than vanilla
This commit is contained in:
parent
a0149bf165
commit
769a579cb0
@ -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…
x
Reference in New Issue
Block a user