mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-21 07:13:49 -07:00
Fix compile issues
This commit is contained in:
@@ -146,7 +146,7 @@
|
|||||||
+ ProfilerFiller gameprofilerfiller = Profiler.get();
|
+ ProfilerFiller gameprofilerfiller = Profiler.get();
|
||||||
+
|
+
|
||||||
+ gameprofilerfiller.push("purge");
|
+ gameprofilerfiller.push("purge");
|
||||||
+ this.ticketStorage.purgeStaleTickets();
|
+ this.ticketStorage.purgeStaleTickets(this.chunkMap);
|
||||||
+ this.runDistanceManagerUpdates();
|
+ this.runDistanceManagerUpdates();
|
||||||
+ gameprofilerfiller.popPush("unload");
|
+ gameprofilerfiller.popPush("unload");
|
||||||
+ this.chunkMap.tick(() -> true);
|
+ this.chunkMap.tick(() -> true);
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ public void removeAllPluginRegionTickets(TicketType ticketType, int ticketLevel, org.bukkit.plugin.Plugin ticketIdentifier) {
|
+ public void removeAllPluginRegionTickets(TicketType ticketType, int ticketLevel, org.bukkit.plugin.Plugin ticketIdentifier) {
|
||||||
+ removeTicketIf(ticket -> ticket.getType() == ticketType && ticket.getTicketLevel() == ticketLevel && ticket.getIdentifier() == ticketIdentifier, null);
|
+ removeTicketIf((chunkKey, ticket) -> ticket.getType() == ticketType && ticket.getTicketLevel() == ticketLevel && ticket.getIdentifier() == ticketIdentifier, null);
|
||||||
+ }
|
+ }
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user