Fix Version
Dieser Commit ist enthalten in:
Ursprung
c41a7d4040
Commit
1c3318d5fd
@ -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