Skip to content

Commit

Permalink
Merge branch '1.20.4' into 1.20.4-folia
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Mar 23, 2024
2 parents c4fa13a + e429638 commit a2289ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_version=1.0.11
project_version=1.0.12

# FM Protocols
protocols_version=09b2b0a077
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ private void load(MorphConfigManager configManager)
{
configManager.bind(isMaster, ConfigOption.IS_MASTER);

isMaster.onValueChanged((o, n) -> prepareInstance(n), true);
isMaster.onValueChanged((o, n) ->
{
if (enabled.get())
prepareInstance(n);
}, true);
}

public void onDisable()
Expand Down

0 comments on commit a2289ea

Please sign in to comment.