FCStateManager.instance().getStateMap().get(source).flush(HandlersStateField.ID);
if (successes == 1 && failures == 0) {
Sponge.getGame().getEventManager().post(new FGUpdateEvent() {
@Override
public Cause getCause() {
<BUG>return FoxGuardMain.PLUGIN_CAUSE;
}</BUG>
});
source.sendMessage(Text.of(TextColors.GREEN, "Successfully " + (this.enableState ? "enabled" : "disabled") + " handler!"));
return CommandResult.success();

FCStateManager.instance().getStateMap().get(source).flush(HandlersStateField.ID);
if (successes == 1 && failures == 0) {
Sponge.getGame().getEventManager().post(new FGUpdateEvent() {
@Override
public Cause getCause() {
return FoxGuardMain.getCause();
}
});
source.sendMessage(Text.of(TextColors.GREEN, "Successfully " + (this.enableState ? "enabled" : "disabled") + " handler!"));
return CommandResult.success();
