mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-13 10:21:13 +01:00
21 lines
702 B
Diff
21 lines
702 B
Diff
|
--- a/net/minecraft/server/Ticket.java
|
||
|
+++ b/net/minecraft/server/Ticket.java
|
||
|
@@ -6,7 +6,7 @@
|
||
|
|
||
|
private final TicketType<T> a;
|
||
|
private final int b;
|
||
|
- private final T c;
|
||
|
+ public final T c; // CraftBukkit - private -> public // PAIL identifier
|
||
|
private final long d;
|
||
|
|
||
|
protected Ticket(TicketType<T> tickettype, int i, T t0, long j) {
|
||
|
@@ -24,7 +24,7 @@
|
||
|
} else {
|
||
|
int j = Integer.compare(System.identityHashCode(this.a), System.identityHashCode(ticket.a));
|
||
|
|
||
|
- return j != 0 ? j : this.a.a().compare(this.c, ticket.c);
|
||
|
+ return j != 0 ? j : this.a.a().compare(this.c, (T) ticket.c); // CraftBukkit - decompile error
|
||
|
}
|
||
|
}
|
||
|
|