public boolean link(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.addHandler(handler);
}

public boolean link(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.addHandler(handler);
}
