Removed variable, moved call inline
This commit is contained in:
parent
fdd9d81400
commit
c645201ef3
|
|
@ -47,8 +47,7 @@ public class Party {
|
|||
.filter(partyUser -> partyUser.getUuid().equals(uuid))
|
||||
.findFirst();
|
||||
if (first.isEmpty()) return;
|
||||
PartyUser partyUser = first.get();
|
||||
partyUsers.remove(partyUser);
|
||||
partyUsers.remove(first.get());
|
||||
chatUser.setPartyId(-1);
|
||||
Queries.removePartyUser(uuid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user