mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fill in renamed villager trading values (villager trading UI now opens)
This commit is contained in:
parent
12d5982c57
commit
f2f59e4e37
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ public class JavaTradeListTranslator extends PacketTranslator<ServerTradeListPac
|
||||||
displayName = packet.isRegularVillager() ? "Villager" : "Wandering Trader";
|
displayName = packet.isRegularVillager() ? "Villager" : "Wandering Trader";
|
||||||
}
|
}
|
||||||
updateTradePacket.setDisplayName(displayName);
|
updateTradePacket.setDisplayName(displayName);
|
||||||
//updateTradePacket.setUnknownInt(0); //TODO
|
updateTradePacket.setSize(0);
|
||||||
// updateTradePacket.setScreen2(true);
|
updateTradePacket.setNewTradingUi(true);
|
||||||
// updateTradePacket.setWilling(true);
|
updateTradePacket.setUsingEconomyTrade(true);
|
||||||
updateTradePacket.setPlayerUniqueEntityId(session.getPlayerEntity().getGeyserId());
|
updateTradePacket.setPlayerUniqueEntityId(session.getPlayerEntity().getGeyserId());
|
||||||
updateTradePacket.setTraderUniqueEntityId(session.getPlayerEntity().getGeyserId());
|
updateTradePacket.setTraderUniqueEntityId(session.getPlayerEntity().getGeyserId());
|
||||||
CompoundTagBuilder builder = CompoundTagBuilder.builder();
|
CompoundTagBuilder builder = CompoundTagBuilder.builder();
|
||||||
|
|
Loading…
Reference in a new issue