SteamWar/FightSystem
Archiviert
13
1

1.19 #353

Zusammengeführt
Lixfel hat 2 Commits von 1.19 nach master 2022-06-11 21:27:23 +02:00 zusammengeführt
Nur Änderungen aus Commit e1ceb283ac werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -107,10 +107,10 @@ public class ProtocolWrapper19 implements ProtocolWrapper {
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
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