mirror of
https://github.com/kaboomserver/extras.git
synced 2024-06-03 10:51:21 +00:00
Add missing condition
This commit is contained in:
parent
a68840a0c1
commit
d3fa88308c
|
@ -95,7 +95,7 @@ public final class PlayerConnection implements Listener {
|
|||
event.allow();
|
||||
}
|
||||
|
||||
if (Result.KICK_FULL.equals(event.getResult())) {
|
||||
if (Result.KICK_FULL.equals(event.getResult() && ALLOW_JOIN_ON_FULL_SERVER)) {
|
||||
event.allow();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue