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

NPE -> Dark Mage causes crash when struck by a MinecraftComesAlive Villager #352

Closed
Orcao opened this issue Jan 20, 2014 · 1 comment
Closed

Comments

@Orcao
Copy link

Orcao commented Jan 20, 2014

Mod List: (The Mad Pack 1.1.0)

-Ars Magica 2 v1.1.1c
-Minecraft Comes Alive 3.5.4

For a full list, see: http://www.atlauncher.com/pack/TheMadPack/

Steps to Recreate:

  1. Spawn in Minecraft Comes Alive villagers until you get a guard (or any one with a sword)
  2. Spawn in an AM2 Dark Mage
  3. The game should crash as soon as they hit each other.

Other Notes:
-Tested with a few other AM2 mobs (Elementals, Hecate, Water Guardian), this only happens with the Dark Mage, potentially with the Light Mage if anything ever causes them to aggro each other.

-This could be on MCAs side, but the crash seems to be from the Dark Mage, so I figured I'd start here.

Pastebin of crash:
http://pastebin.com/r9GJP1xb

@Mithion
Copy link
Owner

Mithion commented Jun 5, 2014

In looking at this, something is setting the Dark Mage's attack target in a way that it shouldn't be. I am not sure which side is doing this, it could be on either one. The stack trace doesn't show that as it would be done at a different point in the tick.

Either way, Dark Mages in 1.2 shouldn't have this issue, as I have made changes to their code which should help this issue.

@Mithion Mithion closed this as completed Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants