Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jlxnb committed Jan 23, 2025
1 parent 301e8c9 commit 646500e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public void applyConfigurations(){
timer.start();
}
// permission
if(mainConfig.randomFirework.turnOnDefaultly){
if(mainConfig.randomFirework.turnOnByDefault){
Permissions.SWITCHES_RANDOMFIREWORKS.setDefault(PermissionDefault.TRUE);
}
else{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import org.spongepowered.configurate.objectmapping.ConfigSerializable;
import org.spongepowered.configurate.objectmapping.meta.Comment;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

Expand All @@ -17,7 +16,7 @@ public class PepperConfigModule {
@ConfigSerializable
public static class RandomFirework{
public boolean enabled = true;
public boolean turnOnDefaultly = true;
public boolean turnOnByDefault = true;
public Interval<Integer> delay=new Interval<>(10, 20);
public boolean automaticDistance = true;
public int distance = 20;
Expand Down

0 comments on commit 646500e

Please sign in to comment.