mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Update to mcdev rename revision 01 for 1.8.1
This commit is contained in:
@@ -39,7 +39,7 @@ public class ItemFood extends Item {
|
||||
// CraftBukkit end
|
||||
|
||||
if (!world.isStatic && this.bx > 0 && world.random.nextFloat() < this.bA) {
|
||||
entityhuman.d(new MobEffect(this.bx, this.by * 20, this.bz));
|
||||
entityhuman.addEffect(new MobEffect(this.bx, this.by * 20, this.bz));
|
||||
}
|
||||
|
||||
return itemstack;
|
||||
|
Reference in New Issue
Block a user