Skip to content

Commit

Permalink
Looks ok now
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jan 12, 2025
1 parent 828ac33 commit f484216
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/fi/dy/masa/tweakeroo/util/CameraEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ public boolean isSpectator()
return true;
}

/**
* Apparently, some mods complain about us not returning an entityId
* @return (id)
*/
@Override
public int getId()
{
if (originalCameraEntity != null)
{
return originalCameraEntity.getId();
}

return super.getId();
}

public static void movementTick()
{
CameraEntity camera = getCamera();
Expand Down

0 comments on commit f484216

Please sign in to comment.