PC-Logix / OpenSecurity

Security addon for OpenComputers
MIT License
46 stars 24 forks source link

[Bug] Energy bolt entity lifespan #139

Closed drzpk closed 5 years ago

drzpk commented 5 years ago

I noticed that energy bolt entities don't disappear when they hit an obstacle.

To Reproduce Steps to reproduce the behavior:

  1. Fire a few shots from the energy turret
  2. Wait a few minutes (after that time all energy bolt entities should be gone)
  3. Scan for entities (see the screenshot below) and realize that energy bolts are still alive

Expected behavior Energy bolts should disappear as soon as they hit an obstacle.

Screenshots / Code Snippet image

Minecraft:

ben-mkiv commented 5 years ago

thanks for the bug report.

here's a build which has the issue fixed: http://ci.pc-logix.com/job/OpenSecurity-1.12/lastSuccessfulBuild/artifact/build/libs/OpenSecurity-MC1.12.2-1.0-34.jar

i'll leave the bug opened until a public release is on curseForge

ben-mkiv commented 5 years ago

version 1.0-35 is now on curseForge which includes the fix