magnusulf / Factions

https://muj.dk/factions
23 stars 14 forks source link

LWC and Factions incompatibility (NPE during disabling) #88

Closed JesFot closed 3 years ago

JesFot commented 4 years ago

Affected Plugin

Describe your Environment

Steps to Reproduce this Bug

  1. Install Factions
  2. Install LWCX
  3. Start the server
  4. Stop the server

Observed Results

During shutdown, a NullPointerException is thrown from EngineLWC, line 47 because LWC is disabled BEFORE Factions and so LWC.getInstance() returns null.

I already reported the issue at LWC here.

Expected Results

Shutdown gracefully.

magnusulf commented 3 years ago

Would seem I fixed it back in december. It should be in the latest version. Please report back if it still occurs.