Dieser Commit ist enthalten in:
Ursprung
1c5015adf4
Commit
b40bb81b7f
@ -46,7 +46,7 @@ public interface ProtocolWrapper {
|
|||||||
|
|
||||||
default void initTPSWarp(LongSupplier longSupplier) {
|
default void initTPSWarp(LongSupplier longSupplier) {
|
||||||
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) () -> System.nanoTime() + longSupplier.getAsLong());
|
||||||
}
|
}
|
||||||
|
|
||||||
enum PlayerInfoAction {
|
enum PlayerInfoAction {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren