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

Elytras and fireworks crash the server #821

Closed
lightyisreal opened this issue Oct 21, 2023 · 0 comments
Closed

Elytras and fireworks crash the server #821

lightyisreal opened this issue Oct 21, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@lightyisreal
Copy link
Contributor

panic: start and end points are the same, giving a zero direction vector
goroutine 31 [running]:
github.com/df-mc/dragonfly/server/block/cube/trace.TraverseBlocks({0x4043e24a00000000, 0xc0438b3600000000, 0x4049129de0000000}, {0x4043e24a00000000, 0xc0438b3600000000, 0x4049129de0000000}, 0xc00450b380)
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/block/cube/trace/trace.go:15 +0x6fd
github.com/df-mc/dragonfly/server/block/cube/trace.Perform({0x4043e24a00000000, 0xc0438b3600000000, 0x4049129de0000000}, {0x4043e24a00000000, 0xc0438b3600000000, 0x4049129de0000000}, 0xc00090ac40, {{0xbfe3333333333333, 0xbfd3333333333333, 0xbfe3333333333333}, ...}, ...)
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/block/cube/trace/result.go:25 +0xf1
github.com/df-mc/dragonfly/server/entity.(*FireworkBehaviour).explode(0xc001805860, 0xc000fecf30)
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/entity/firework_behaviour.go:134 +0xae5
github.com/df-mc/dragonfly/server/entity.(*PassiveBehaviour).Tick(0xc0017274a0, 0xc000fecf30)
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/entity/passive.go:99 +0x2e6
github.com/df-mc/dragonfly/server/entity.(*FireworkBehaviour).Tick(0xc000fecf30?, 0x40c7d8?)
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/entity/firework_behaviour.go:70 +0x17
github.com/df-mc/dragonfly/server/entity.(*Ent).Tick(0xc000fecf30, 0xc00090ac40, 0xcd537)
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/entity/ent.go:173 +0x142
github.com/df-mc/dragonfly/server/world.ticker.tickEntities({0xc00090ac40?}, 0x0?)
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/world/tick.go:286 +0x88a
github.com/df-mc/dragonfly/server/world.ticker.tick({0xc00450bf90?})
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/world/tick.go:71 +0x20d
github.com/df-mc/dragonfly/server/world.ticker.tickLoop({0x0?})
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/world/tick.go:26 +0x95
created by github.com/df-mc/dragonfly/server/world.Config.New in goroutine 1
        /go/pkg/mod/github.com/df-mc/dragonfly@v0.9.9-0.20230930211047-d519f75b5eb0/server/world/conf.go:88 +0x576
@Sandertv Sandertv closed this as completed Apr 1, 2024
@Sandertv Sandertv added the bug Something isn't working label Apr 1, 2024
@Sandertv Sandertv added this to the v0.10.0 milestone Apr 1, 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

No branches or pull requests

2 participants