mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
fix: proj pos regression (#1616)
This commit is contained in:
@@ -32,7 +32,7 @@ pub struct ThrownItemEntity {
|
||||
impl ThrownItemEntity {
|
||||
pub fn new(entity: Entity, owner: &Entity) -> Self {
|
||||
let mut owner_pos = owner.pos.load();
|
||||
owner_pos.y = owner.get_eye_height() - 0.1;
|
||||
owner_pos.y += owner.get_eye_height() - 0.1;
|
||||
entity.pos.store(owner_pos);
|
||||
Self {
|
||||
entity,
|
||||
|
||||
Reference in New Issue
Block a user