Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-06 00:00:47 +01:00
Slightly more accurate natives check
Dieser Commit ist enthalten in:
Ursprung
35856fec04
Commit
3a77068088
@ -67,7 +67,7 @@ public class JavaVelocityCipher implements VelocityCipher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static ByteBuf toHeap(ByteBuf src) {
|
private static ByteBuf toHeap(ByteBuf src) {
|
||||||
if (!src.isDirect()) {
|
if (src.hasArray()) {
|
||||||
return src.retain();
|
return src.retain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren