SteamWar/FightSystem
Archiviert
13
1

Initialization fix
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-06-07 21:36:49 +02:00
Ursprung 2733f10e89
Commit e1ceb283ac

Datei anzeigen

@ -107,10 +107,10 @@ public class ProtocolWrapper19 implements ProtocolWrapper {
return null; return null;
} }
private static final Reflection.ConstructorInvoker playerInfoDataConstructor = Reflection.getConstructor(Fight.playerInfoDataClass, GameProfile.class, int.class, Fight.enumGamemode, Fight.iChatBaseComponent); private static final Reflection.ConstructorInvoker playerInfoDataConstructor = Reflection.getConstructor(Fight.playerInfoDataClass, GameProfile.class, int.class, Fight.enumGamemode, Fight.iChatBaseComponent, Reflection.getClass("net.minecraft.world.entity.player.ProfilePublicKey$a"));
@Override @Override
public Object playerInfoDataConstructor(Object packet, GameProfile profile, Object mode) { public Object playerInfoDataConstructor(Object packet, GameProfile profile, Object mode) {
return playerInfoDataConstructor.invoke(profile, 0, mode, null); return playerInfoDataConstructor.invoke(profile, 0, mode, null, null);
} }
@Override @Override