unregisterProtectionProvider

public static void unregisterProtectionProvider(String providerName)

Removes the protection predicate registered under providerName, if any. Call it from the providing plugin's onDisable so FMM stops calling into, and holding on to, the disabled instance.

Parameters

providerName

the name passed to registerProtectionProvider