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))
|
.filter(partyUser -> partyUser.getUuid().equals(uuid))
|
||||||
.findFirst();
|
.findFirst();
|
||||||
if (first.isEmpty()) return;
|
if (first.isEmpty()) return;
|
||||||
PartyUser partyUser = first.get();
|
partyUsers.remove(first.get());
|
||||||
partyUsers.remove(partyUser);
|
|
||||||
chatUser.setPartyId(-1);
|
chatUser.setPartyId(-1);
|
||||||
Queries.removePartyUser(uuid);
|
Queries.removePartyUser(uuid);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user