PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

57M Downloads

1.21.1 (Forge) Attack Widget with 'Minigun Upgrade' will get stuck on first interaction.

Notmarlu opened this issue ยท 1 comments

commented

Describe the bug

When a drone starts an 'Attack Widget' with the Minigun Upgrade (potentially the Micromissile aswell) on a target, the widget will NOT complete and will stay on its first interaction unless the drones target is dead - depletes ammo - out of pressure. I have used the Limit Interactions with numerous numbers ranging from 1 - 999 to no fix.

If the drone starts firing on a target and I want it to stop i am forced to either hack it or destroy it. Target could have extremely high HP or other reason. I believe it is getting stuck on its initial interaction, my program involves a simple follow player and shoot anything within a determined box around player using '$player_pos'.

How to reproduce the bug

To best understand i would use a dummy or something that is slow with high HP. Do a simple program that follows the player whilst firing at anything within a small box following the player with $player_pos. Move into range then try to run back / away. With debug you can clearly see the drone staying on the attack widget regardless of if you have moved away and out of the pre determined attack area.

You can also do it again WITHOUT the minigun upgrade, the limit interaction works perfectly, finishing after however many you set.

Expected behavior

Minigun upgrade should finish its interaction with the attack widget like the drone would do without the minigun upgrade.

Additional details

Which Minecraft version are you using?

1.21

Which version of PneumaticCraft: Repressurized are you using?

8.2.12

Crash log

No response

commented

Fixed in 8.2.13