Apply item skills before sending item list.

This commit is contained in:
MobiusDevelopment
2021-10-30 12:47:27 +00:00
parent 51541e68b0
commit 4df8d007bd
21 changed files with 63 additions and 21 deletions

View File

@@ -378,6 +378,9 @@ public class EnterWorld implements IClientIncomingPacket
// Send Macro List
player.getMacros().sendUpdate();
// Apply item skills.
player.getInventory().applyItemSkills();
// Send Item List
client.sendPacket(new ItemList(player, false));
@@ -431,7 +434,6 @@ public class EnterWorld implements IClientIncomingPacket
player.spawnMe(player.getX(), player.getY(), player.getZ());
player.sendPacket(new ExRotation(player.getObjectId(), player.getHeading()));
player.getInventory().applyItemSkills();
// Wedding Checks
if (Config.ALLOW_WEDDING)