forked from External/mage
*Changed lock handling of session to prevent continuous locking.
This commit is contained in:
parent
638e42bc7f
commit
b0238b402e
2 changed files with 44 additions and 14 deletions
|
|
@ -73,7 +73,7 @@ public class ChatSession {
|
|||
|
||||
public void kill(UUID userId, DisconnectReason reason) {
|
||||
|
||||
try {
|
||||
try {
|
||||
if (reason == null) {
|
||||
logger.fatal("User kill without disconnect reason userId: " + userId);
|
||||
reason = DisconnectReason.Undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue