Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DynamicCheckpoint.create_ex() method doesn't pass size attr #10

Closed
gsmj opened this issue Dec 23, 2024 · 0 comments · Fixed by #13
Closed

Fix DynamicCheckpoint.create_ex() method doesn't pass size attr #10

gsmj opened this issue Dec 23, 2024 · 0 comments · Fixed by #13
Labels
bug Something isn't working

Comments

@gsmj
Copy link
Collaborator

gsmj commented Dec 23, 2024

    @classmethod
    def create_ex(
        cls,
        x: float,
        y: float,
        z: float,
        size: float,
        stream_distance: float = StreamerTypes.CP_SD,
        worlds: Optional[list[int]] = None,
        interiors: Optional[list[int]] = None,
        players: Optional[list[int]] = None,
        areas: Optional[list[int]] = None,
        priority: int = 0,
    ) -> "DynamicCheckpoint":
        return cls(
            create_dynamic_cp_ex(
                x,
                y,
                z,  # size after z param
                stream_distance,
                worlds,
                interiors,
                players,
                areas,
                priority,
            )
        )
@gsmj gsmj added the bug Something isn't working label Dec 23, 2024
@gsmj gsmj changed the title Fix DynamicCheckpoint.create_ex() method doesn't have pass size attr Fix DynamicCheckpoint.create_ex() method doesn't pass size attr Dec 23, 2024
@gsmj gsmj linked a pull request Dec 23, 2024 that will close this issue
gsmj added a commit that referenced this issue Dec 23, 2024
@gsmj gsmj closed this as completed in #13 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant