mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Bunchafixes which may or may not have any end result
This commit is contained in:
@@ -384,8 +384,7 @@ public class EntityWolf extends EntityAnimal {
|
||||
|
||||
if (itemfood.m() && this.datawatcher.b(18) < 20) {
|
||||
--itemstack.count;
|
||||
this.c(((ItemFood) Item.PORK).k(), RegainReason.EATING); // Craftbukkit
|
||||
|
||||
this.c(itemfood.k(), RegainReason.EATING); // Craftbukkit
|
||||
if (itemstack.count <= 0) {
|
||||
entityhuman.inventory.setItem(entityhuman.inventory.itemInHandIndex, (ItemStack) null);
|
||||
}
|
||||
|
Reference in New Issue
Block a user