Fixed GMViewCharacterInfo clientpacket.

This commit is contained in:
MobiusDevelopment
2019-09-15 21:22:07 +00:00
parent 886453b46d
commit b764a568ad
5 changed files with 5 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_player.getInventory().getPaperdollItemDisplayId(slot));
}
for (int slot : getPaperdollOrder())
for (int slot = 0; slot < 11; slot++)
{
final VariationInstance augment = _player.getInventory().getPaperdollAugmentation(slot);
packet.writeD(augment != null ? augment.getOption1Id() : 0); // Confirmed

View File

@@ -90,7 +90,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_player.getInventory().getPaperdollItemDisplayId(slot));
}
for (int slot : getPaperdollOrder())
for (int slot = 0; slot < 11; slot++)
{
final VariationInstance augment = _player.getInventory().getPaperdollAugmentation(slot);
packet.writeD(augment != null ? augment.getOption1Id() : 0); // Confirmed

View File

@@ -90,7 +90,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_player.getInventory().getPaperdollItemDisplayId(slot));
}
for (int slot : getPaperdollOrder())
for (int slot = 0; slot < 11; slot++)
{
final VariationInstance augment = _player.getInventory().getPaperdollAugmentation(slot);
packet.writeD(augment != null ? augment.getOption1Id() : 0); // Confirmed

View File

@@ -90,7 +90,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_player.getInventory().getPaperdollItemDisplayId(slot));
}
for (int slot : getPaperdollOrder())
for (int slot = 0; slot < 11; slot++)
{
final VariationInstance augment = _player.getInventory().getPaperdollAugmentation(slot);
packet.writeD(augment != null ? augment.getOption1Id() : 0); // Confirmed

View File

@@ -90,7 +90,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_player.getInventory().getPaperdollItemDisplayId(slot));
}
for (int slot : getPaperdollOrder())
for (int slot = 0; slot < 11; slot++)
{
final VariationInstance augment = _player.getInventory().getPaperdollAugmentation(slot);
packet.writeD(augment != null ? augment.getOption1Id() : 0); // Confirmed