Rework View all characters - fix packet and limit max chrs

Thanks to Lehava#4668 for finding the packet structure
This commit is contained in:
P0nk
2022-03-26 15:51:16 +01:00
parent 406708d0ba
commit 513c9b615d
4 changed files with 97 additions and 46 deletions

View File

@@ -515,8 +515,8 @@ public class World {
return chrList;
}
public List<Character> getAccountCharactersView(Integer accountId) {
List<Character> chrList;
public List<Character> getAccountCharactersView(int accountId) {
final List<Character> chrList;
accountCharsLock.lock();
try {