public boolean unlink(ILinkable linkable, IHandler handler) {
if (linkable == null || handler == null || !linkable.getHandlers().contains(handler)) return false;
Sponge.getGame().getEventManager().post(new FGUpdateEvent() {
@Override
public Cause getCause() {
<BUG>return FoxGuardMain.PLUGIN_CAUSE;
}</BUG>
});
return !(handler instanceof GlobalHandler && linkable instanceof GlobalRegion) && linkable.removeHandler(handler);
}

public boolean unlink(ILinkable linkable, IHandler handler) {
if (linkable == null || handler == null || !linkable.getHandlers().contains(handler)) return false;
Sponge.getGame().getEventManager().post(new FGUpdateEvent() {
@Override
public Cause getCause() {
return FoxGuardMain.getCause();
}
});
return !(handler instanceof GlobalHandler && linkable instanceof GlobalRegion) && linkable.removeHandler(handler);
}
