Send full list to avoid duplicates.

Contributed by nasseka.
This commit is contained in:
MobiusDevelopment 2022-01-11 23:05:28 +00:00
parent f79302288f
commit 38c3b56383
23 changed files with 46 additions and 92 deletions

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList(false);
}
// Send full list to avoid duplicates.
player.sendItemList(false);
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList(false);
}
// Send full list to avoid duplicates.
player.sendItemList(false);
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList(false);
}
// Send full list to avoid duplicates.
player.sendItemList(false);
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList(false);
}
// Send full list to avoid duplicates.
player.sendItemList(false);
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -230,10 +230,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendPacket(playerIU);
}
else
{
player.sendPacket(new ItemList(player, false));
}
// Send full list to avoid duplicates.
player.sendPacket(new ItemList(player, false));
msg.removeAttachments();

View File

@ -230,10 +230,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendPacket(playerIU);
}
else
{
player.sendPacket(new ItemList(player, false));
}
// Send full list to avoid duplicates.
player.sendPacket(new ItemList(player, false));
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList(false);
}
// Send full list to avoid duplicates.
player.sendItemList(false);
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList(false);
}
// Send full list to avoid duplicates.
player.sendItemList(false);
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList(false);
}
// Send full list to avoid duplicates.
player.sendItemList(false);
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();

View File

@ -228,10 +228,8 @@ public class RequestPostAttachment implements IClientIncomingPacket
{
player.sendInventoryUpdate(playerIU);
}
else
{
player.sendItemList();
}
// Send full list to avoid duplicates.
player.sendItemList();
msg.removeAttachments();