aidancbrady / DefenseTech

Missiles and high-tech explosives: Calclavia's work continued.
22 stars 11 forks source link

API events do not fire #46

Closed StargateMC closed 8 years ago

StargateMC commented 8 years ago

Hi @aidancbrady

I'm trying to create a compatibility add on that relies on being able to monitor pre detonation events... For grief prevention purposes.

No matter what I try the events do not fire.

Going to keep trying.. But I'm reporting this as I can't see anywhere the events are being passed to forge. Might be something that was missed in the rewrite?

Pretty new to Java (but know my way around events don't worry)... So there is the possibility this is incorrect and I'm just stupid! Sorry!

DraksterAU

StargateMC commented 8 years ago

@aidancbrady I've tried registering my event listener on all Forge and FML buses and tried without... nothing there.

Game crashes if I try to subscribe to it in the main mod class too. (Stopped between PREINT and INIT... no crash report)

StargateMC commented 8 years ago

OK I am stupid.