Skip to content

Commit

Permalink
Update PacketCreator.java
Browse files Browse the repository at this point in the history
  • Loading branch information
MarloDelatorre authored Aug 6, 2024
1 parent c59d44b commit 588d48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tools/PacketCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ public static Packet getCharList(Client c, int serverId, int status) {
addCharEntry(p, chr, false);
}

p.writeByte(2);
p.writeByte(2);
p.writeInt(YamlConfig.config.server.COLLECTIVE_CHARSLOT ? chars.size() + c.getAvailableCharacterSlots() : c.getCharacterSlots());
return p;
}
Expand Down

0 comments on commit 588d48b

Please sign in to comment.