@@ -1,14 +1,5 @@
|
||||
--- a/net/minecraft/server/TicketType.java
|
||||
+++ b/net/minecraft/server/TicketType.java
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
private final String i;
|
||||
private final Comparator<T> j;
|
||||
- private final long k;
|
||||
+ private long k; // PAIL
|
||||
public static final TicketType<Unit> START = a("start", (unit, unit1) -> {
|
||||
return 0;
|
||||
});
|
||||
@@ -19,6 +19,8 @@
|
||||
public static final TicketType<BlockPosition2D> PORTAL = a("portal", Comparator.comparingLong(BlockPosition2D::b));
|
||||
public static final TicketType<Integer> POST_TELEPORT = a("post_teleport", Integer::compareTo, 5);
|
||||
@@ -18,14 +9,3 @@
|
||||
|
||||
public static <T> TicketType<T> a(String s, Comparator<T> comparator) {
|
||||
return new TicketType<>(s, comparator, 0L);
|
||||
@@ -45,4 +47,10 @@
|
||||
public long b() {
|
||||
return this.k;
|
||||
}
|
||||
+
|
||||
+ // CraftBukkit start
|
||||
+ public void setLoadPeriod(int ticks) {
|
||||
+ this.k = ticks;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user