mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 17:31:06 +01:00
Fixed bad cast in EntityItem
This commit is contained in:
parent
b8023ac3fa
commit
f622db3ea1
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ public class EntityItem extends Entity {
|
|||
|
||||
if (!event.isCancelled() && entityhuman.inventory.a(this.a)) {
|
||||
this.world.a(this, "random.pop", 0.2F, ((this.random.nextFloat() - this.random.nextFloat()) * 0.7F + 1.0F) * 2.0F);
|
||||
entityhuman.c(this, i);
|
||||
entityhuman.b(this, i);
|
||||
this.C();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue