Speedy UUID Lookup #103
@ -28,9 +28,10 @@ import java.lang.reflect.Field;
|
||||
public class AuthlibInjector {
|
||||
|
||||
public static void inject() {
|
||||
if(Core.getVersion() < 15) {
|
||||
if(Core.getVersion() != 15) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
Class<?> minecraftServerClass = VersionedCallable.call(new VersionedCallable<>(() -> AuthlibInjector_15.getMinecraftClass(), 15));
|
||||
Field repo = minecraftServerClass.getDeclaredField("gameProfileRepository");
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren