Skip to content

Commit

Permalink
fix: reduce the possibility of chunk lagging
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed May 25, 2024
1 parent 375d2e7 commit 8db64fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static class GenericSettings extends OkaeriConfig {
@CustomKey("is-whitelisted")
private boolean isWhitelisted = false;

@Comment("Whether or not to display the GUI")
@Comment("Whether to display the GUI")
private boolean enableGui = true;
}

Expand Down Expand Up @@ -106,7 +106,7 @@ public static class WorldConfig extends OkaeriConfig {
private int viewDistance = 16;

@CustomKey("chunk-try-send-count-per-tick")
private int chunkTrySendCountPerTick = 16;
private int chunkTrySendCountPerTick = 4;

@CustomKey("use-sub-chunk-sending-system")
private boolean useSubChunkSendingSystem = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void mouseClicked(MouseEvent e) {
consolePane.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
if (e.getButton() != MouseEvent.BUTTON1) return;
if (e.getButton() != MouseEvent.BUTTON3) return;
JPopupMenu popupMenu = new JPopupMenu();

JMenuItem changeFontSizeItem = new JMenuItem("Change Font Size");
Expand Down

0 comments on commit 8db64fd

Please sign in to comment.