Player data is now saved to disk when a quest is finished. Removed an unused packet.

This commit is contained in:
Luis C.M committed 2022-12-19 17:07:50 -06:00
1 parent cfac349265
commit 808de24db4
3 files changed
+2 -6

No files matched your search

@@ -189,9 +189,6 @@ public class PacketHandlerPlayer{
else if(type == EnumPlayerPacket.QuestLog){
NoppesUtilPlayer.sendQuestLogData(player);
}
else if(type == EnumPlayerPacket.QuestCompletion){
NoppesUtilPlayer.questCompletion(player, buffer.readInt());
}
else if(type == EnumPlayerPacket.FactionsGet){
PlayerFactionData data = PlayerDataController.instance.getPlayerData(player).factionData;
Server.sendData(player, EnumPacketClient.GUI_DATA, data.getPlayerGuiData());