This commit is contained in:
Telesphoreo 2024-01-10 19:28:44 -06:00
parent ad67365856
commit 09aa337524
No known key found for this signature in database
GPG Key ID: 9D1991811E093C02

View File

@ -111,7 +111,7 @@ public class TFMExtras extends PlexModule
public void disable() public void disable()
{ {
// Unregistering listeners / commands is handled by Plex // Unregistering listeners / commands is handled by Plex
if (slimeWorldHook.plugin() != null) if (swmEnabled())
{ {
slimeWorldHook.onDisable(this); slimeWorldHook.onDisable(this);
} }