Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +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