Maciej916 / Ma-Enchants

Adds various new enchant and curses to the game
GNU Lesser General Public License v3.0
3 stars 8 forks source link

Game freeze with True Shot #11

Closed XxDragonFang closed 1 year ago

XxDragonFang commented 4 years ago

Describe the bug When too many arrows fired with this enchant are aimed towards empty space, like the sky or in the end, the client eventually stops "ticking" and freezes. You can still move around, but it appears that entity processing entirely stops.

To Reproduce Fire a bunch of arrows(>20) with True Shot towards the sky or in a direction that won't collide with anything to allow the arrow to reach entity processing range. Give it a few minutes.

Expected behavior For the arrows to despawn at render range, and to not destroy the internal server.

Versions

IzzelAliz commented 3 years ago

Reproducible with Ma-Enchants-1.15.2-3.1.0, please fix this.

This actually crashed my server several times:

https://paste.ubuntu.com/p/nfRSQH2pqk/

https://paste.ubuntu.com/p/PGff9PcqSf/

BasDerilov commented 2 years ago

This issue is still causing crashes big time, please fix this. Same bug: /issues/38

NemecRaphael commented 2 years ago

Is there a planned fix for it? It still happens. Needs to remove arrow entity before it enters render distance

Maciej916 commented 1 year ago

This should be fixed in 1.19.2-6.0.0