mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 12:39:05 +00:00
Dialog packet
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user