mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Fixed double login bug, added gm permissions, added checks to gm commands, update your postgresql db
This commit is contained in:
@@ -156,10 +156,10 @@ public class PlayerMessageBuilder extends ObjectMessageBuilder {
|
||||
|
||||
if(player.getXpList().isEmpty()) {
|
||||
buffer.putInt(0);
|
||||
buffer.putInt(0);
|
||||
buffer.putInt(player.getXpListUpdateCounter());
|
||||
} else {
|
||||
buffer.putInt(player.getXpList().size());
|
||||
buffer.putInt(0);
|
||||
buffer.putInt(player.getXpListUpdateCounter());
|
||||
|
||||
// no need for locking here, concurrent hash map iterator wont throw concurrency exceptions and multiple thread access at zone in is unlikely to occur for the PlayerObject
|
||||
for(Entry<String, Integer> entry : player.getXpList().entrySet()) {
|
||||
|
||||
Reference in New Issue
Block a user