mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Prevent removing first two players for online games
This commit is contained in:
@@ -61,7 +61,7 @@ public final class ServerGameLobby extends GameLobby {
|
||||
|
||||
@Override
|
||||
public boolean mayRemove(final int index) {
|
||||
return true;
|
||||
return index >= 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user