aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-09-13 15:04:18 -0700
committerJason Penilla <[email protected]>2024-09-13 15:04:18 -0700
commita136173f15e909ca39a8f809a461099dfc10b16b (patch)
tree76269c466e849d56c85bd799d06fdb2de4c42c6b
parentfcf48a9c947de3f1012e1004dc0d46f2d89cc010 (diff)
downloadPaper-player-join-ticket.tar.gz
Paper-player-join-ticket.zip
adjust delay to 5splayer-join-ticket
-rw-r--r--patches/server/0985-Moonrise-optimisation-patches.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0985-Moonrise-optimisation-patches.patch b/patches/server/0985-Moonrise-optimisation-patches.patch
index 8c21d1c335..1d0905a452 100644
--- a/patches/server/0985-Moonrise-optimisation-patches.patch
+++ b/patches/server/0985-Moonrise-optimisation-patches.patch
@@ -4767,7 +4767,7 @@ index 0000000000000000000000000000000000000000..003a857e70ead858e8437e3c1bfaf22f
+}
diff --git a/src/main/java/ca/spottedleaf/moonrise/patches/chunk_system/player/RegionizedPlayerChunkLoader.java b/src/main/java/ca/spottedleaf/moonrise/patches/chunk_system/player/RegionizedPlayerChunkLoader.java
new file mode 100644
-index 0000000000000000000000000000000000000000..5120655cd2feed764c7429f41b615a42cf4d6ee0
+index 0000000000000000000000000000000000000000..a9e2130db9ea790b08f05230e0d7ee9f638d06fb
--- /dev/null
+++ b/src/main/java/ca/spottedleaf/moonrise/patches/chunk_system/player/RegionizedPlayerChunkLoader.java
@@ -0,0 +1,1084 @@
@@ -4819,7 +4819,7 @@ index 0000000000000000000000000000000000000000..5120655cd2feed764c7429f41b615a42
+
+ public static final TicketType<Long> PLAYER_TICKET = TicketType.create("chunk_system:player_ticket", Long::compareTo);
+ public static final TicketType<Long> PLAYER_TICKET_DELAYED = TicketType.create("chunk_system:player_ticket_delayed", Long::compareTo, 5 * 20);
-+ public static final TicketType<Unit> PLAYER_JOIN = TicketType.create("chunk_system:player_join", (a, b) -> 0, 2 * 20);
++ public static final TicketType<Unit> PLAYER_JOIN = TicketType.create("chunk_system:player_join", (a, b) -> 0, 5 * 20);
+
+ public static final int MIN_VIEW_DISTANCE = 2;
+ public static final int MAX_VIEW_DISTANCE = 32;