Dieser Commit ist enthalten in:
Ursprung
d7134b6916
Commit
1c5015adf4
@ -45,7 +45,6 @@ public interface ProtocolWrapper {
|
|||||||
Object playerInfoPacketConstructor(PlayerInfoAction action, GameProfile profile, GameMode mode);
|
Object playerInfoPacketConstructor(PlayerInfoAction action, GameProfile profile, GameMode mode);
|
||||||
|
|
||||||
default void initTPSWarp(LongSupplier longSupplier) {
|
default void initTPSWarp(LongSupplier longSupplier) {
|
||||||
if (Core.getVersion() > 19) return;
|
|
||||||
Class systemUtils = Reflection.getClass("{nms}.SystemUtils");
|
Class systemUtils = Reflection.getClass("{nms}.SystemUtils");
|
||||||
Reflection.getField(systemUtils, LongSupplier.class, 0).set(systemUtils, longSupplier);
|
Reflection.getField(systemUtils, LongSupplier.class, 0).set(systemUtils, longSupplier);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren