Dialog packet

This commit is contained in:
somehussar committed 2025-02-03 04:16:24 +01:00
1 parent c5329a1c63
commit ea1f5b259d
6 files changed
+67 -10

No files matched your search

@@ -179,12 +179,12 @@ public class PacketHandlerPlayer{
// BankData data = PlayerDataController.Instance.getBankData(player,bankId).getBankOrDefault(bankId);
// data.openBankGui(player, npc, bankId, slot);
// }
else if(type == EnumPlayerPacket.Dialog){
EntityNPCInterface npc = NoppesUtilServer.getEditingNpc(player);
if(npc == null)
return;
NoppesUtilPlayer.dialogSelected(buffer.readInt(), buffer.readInt(), player, npc);
}
// else if(type == EnumPlayerPacket.Dialog){
// EntityNPCInterface npc = NoppesUtilServer.getEditingNpc(player);
// if(npc == null)
// return;
// NoppesUtilPlayer.dialogSelected(buffer.readInt(), buffer.readInt(), player, npc);
// }
// else if(type == EnumPlayerPacket.CheckQuestCompletion){
// PlayerData playerData = PlayerDataController.Instance.getPlayerData(player);
// PlayerQuestData questData = PlayerDataController.Instance.getPlayerData(player).questData;