Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Fix Paper packet limiter check on new versions
Dieser Commit ist enthalten in:
Ursprung
2a55025e99
Commit
ce4f21b7d8
@ -69,7 +69,7 @@ public final class PaperViaInjector {
|
||||
}
|
||||
|
||||
private static boolean hasPacketLimiter() {
|
||||
return hasClass("com.destroystokyo.paper.PaperConfig$PacketLimit") || hasClass("io.papermc.paper.PaperConfig$PacketLimit");
|
||||
return hasClass("com.destroystokyo.paper.PaperConfig$PacketLimit") || hasClass("io.papermc.paper.configuration.GlobalConfiguration$PacketLimiter");
|
||||
}
|
||||
|
||||
private static boolean hasClass(final String className) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren