File tree Expand file tree Collapse file tree
src/main/java/me/hsgamer/bettergui/betterdialogs/menu Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ public abstract class DialogMenu extends BaseMenu {
3030 private final String title ;
3131 private final @ Nullable String externalTitle ;
3232 private final boolean canCloseWithEscape ;
33- private final boolean pause ;
3433 private final Dialog .AfterAction afterAction ;
3534
3635 DialogMenu (BetterDialogs instance , Config config ) {
@@ -47,10 +46,6 @@ public abstract class DialogMenu extends BaseMenu {
4746 .map (Object ::toString )
4847 .map (Boolean ::parseBoolean )
4948 .orElse (true );
50- pause = Optional .ofNullable (menuSettings .get ("pause" ))
51- .map (Object ::toString )
52- .map (Boolean ::parseBoolean )
53- .orElse (false );
5449 afterAction = Optional .ofNullable (MapUtils .getIfFound (menuSettings , "after-action" , "after" ))
5550 .map (Object ::toString )
5651 .map (s -> {
@@ -90,7 +85,6 @@ public abstract class DialogMenu extends BaseMenu {
9085 .title (StringReplacerApplier .replace (title , player .getUniqueId (), this ))
9186 .externalTitle (externalTitle != null ? StringReplacerApplier .replace (externalTitle , player .getUniqueId (), this ) : null )
9287 .canCloseWithEscape (canCloseWithEscape )
93- .pause (pause )
9488 .afterAction (afterAction );
9589
9690 for (DialogComponent component : componentMap .values ()) {
You can’t perform that action at this time.
0 commit comments