|
1 | 1 | --- a/net/minecraft/server/level/TicketType.java
|
2 | 2 | +++ b/net/minecraft/server/level/TicketType.java
|
3 |
| -@@ -13,11 +_,23 @@ |
| 3 | +@@ -13,11 +_,24 @@ |
4 | 4 | public static final TicketType PORTAL = register("portal", 300L, true, TicketType.TicketUse.LOADING_AND_SIMULATION);
|
5 | 5 | public static final TicketType ENDER_PEARL = register("ender_pearl", 40L, false, TicketType.TicketUse.LOADING_AND_SIMULATION);
|
6 | 6 | public static final TicketType UNKNOWN = register("unknown", 1L, false, TicketType.TicketUse.LOADING);
|
7 | 7 | + public static final TicketType PLUGIN = register("plugin", 0L, false, TicketType.TicketUse.LOADING_AND_SIMULATION); // CraftBukkit
|
8 | 8 | + public static final TicketType POST_TELEPORT = register("post_teleport", 5L, false, TicketType.TicketUse.LOADING_AND_SIMULATION); // Paper
|
9 | 9 | + public static final TicketType PLUGIN_TICKET = register("plugin_ticket", 0L, false, TicketType.TicketUse.LOADING_AND_SIMULATION); // Paper
|
10 | 10 | + public static final TicketType FUTURE_AWAIT = register("future_await", 0L, false, TicketType.TicketUse.LOADING_AND_SIMULATION); // Paper
|
| 11 | ++ public static final TicketType CHUNK_LOAD = TicketType.register("chunk_load", TicketType.NO_TIMEOUT, false, TicketType.TicketUse.LOADING); // Paper - moonrise // TODO maybe move to moonrise |
11 | 12 |
|
12 | 13 | public static TicketType register(String name, long timeout, boolean persist, TicketType.TicketUse use) {
|
13 | 14 | return Registry.register(BuiltInRegistries.TICKET_TYPE, name, new TicketType(timeout, persist, use));
|
|
0 commit comments