fixed spamming of portal reject message by clearing the path (fixes #2996056)
This commit is contained in:
parent
c56d6e7bba
commit
eb809b11f7
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ abstract class AccessCheckingPortal extends Portal {
|
|||
protected void rejected(final RPEntity user) {
|
||||
if (rejectMessage != null) {
|
||||
sendMessage(user, rejectMessage);
|
||||
user.stop();
|
||||
user.clearPath();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue