mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-30 11:53:52 -07:00
@@ -21,8 +21,8 @@
|
||||
|
||||
public static void a(EntityLiving entityliving, ItemStack itemstack, EntityLiving entityliving1) {
|
||||
+ if (itemstack.isEmpty()) return; // CraftBukkit - SPIGOT-4940: no empty loot
|
||||
double d0 = entityliving.locY - 0.30000001192092896D + (double) entityliving.getHeadHeight();
|
||||
EntityItem entityitem = new EntityItem(entityliving.world, entityliving.locX, d0, entityliving.locZ, itemstack);
|
||||
double d0 = entityliving.getHeadY() - 0.30000001192092896D;
|
||||
EntityItem entityitem = new EntityItem(entityliving.world, entityliving.locX(), d0, entityliving.locZ(), itemstack);
|
||||
BlockPosition blockposition = new BlockPosition(entityliving1);
|
||||
@@ -66,7 +67,7 @@
|
||||
|
||||
|
Reference in New Issue
Block a user