3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 00:00:41 +01:00

Fill in renamed villager trading values (villager trading UI now opens)

Dieser Commit ist enthalten in:
DoctorMacc 2020-06-28 23:44:38 -04:00
Ursprung 12d5982c57
Commit f2f59e4e37

Datei anzeigen

@ -70,9 +70,9 @@ public class JavaTradeListTranslator extends PacketTranslator<ServerTradeListPac
displayName = packet.isRegularVillager() ? "Villager" : "Wandering Trader";
}
updateTradePacket.setDisplayName(displayName);
//updateTradePacket.setUnknownInt(0); //TODO
// updateTradePacket.setScreen2(true);
// updateTradePacket.setWilling(true);
updateTradePacket.setSize(0);
updateTradePacket.setNewTradingUi(true);
updateTradePacket.setUsingEconomyTrade(true);
updateTradePacket.setPlayerUniqueEntityId(session.getPlayerEntity().getGeyserId());
updateTradePacket.setTraderUniqueEntityId(session.getPlayerEntity().getGeyserId());
CompoundTagBuilder builder = CompoundTagBuilder.builder();