#725: HumanEntity - add a method to make the entity drop the item they're holding

This commit is contained in:
Shane Bee 2020-08-16 09:32:47 +10:00 committed by md_5
parent 82542d01d8
commit 13945b7687
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -570,4 +570,9 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
entity.remove(); entity.remove();
} }
} }
@Override
public boolean dropItem(boolean dropAll) {
return getHandle().dropItem(dropAll);
}
} }