geforkt von Mirrors/Paper
SPIGOT-6482: Baby piglins will pick up more items than vanilla
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
d5fb854202
Commit
14af2c0a70
@ -79,7 +79,7 @@
|
|||||||
Item item = itemstack.getItem();
|
Item item = itemstack.getItem();
|
||||||
|
|
||||||
- if (a(item)) {
|
- 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);
|
entitypiglin.getBehaviorController().removeMemory(MemoryModuleType.TIME_TRYING_TO_REACH_ADMIRE_ITEM);
|
||||||
c(entitypiglin, itemstack);
|
c(entitypiglin, itemstack);
|
||||||
d((EntityLiving) entitypiglin);
|
d((EntityLiving) entitypiglin);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren