mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
wait now ive fixed it
This commit is contained in:
parent
02c0469a9c
commit
611b010f59
1 changed files with 2 additions and 1 deletions
|
|
@ -46,13 +46,14 @@ public class ThrowableItemEntity extends ThrowableEntity {
|
|||
setFlag(EntityFlag.INVISIBLE, true);
|
||||
invisible = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initializeMetadata() {
|
||||
super.initializeMetadata();
|
||||
|
||||
// Correct sizing
|
||||
dirtyMetadata.put(EntityDataTypes.SCALE, 0.5f);
|
||||
}
|
||||
|
||||
private void checkVisibility() {
|
||||
Vector3f playerPos = session.getPlayerEntity().getPosition();
|
||||
// Prevent projectiles from blocking the player's screen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue