forked from External/mage
* Tournament handling - Fixed player handling for swiss tournament. No more quit sound or stat eif player already finished the tournament correctly.
This commit is contained in:
parent
95b9507c0c
commit
0e71ac5e53
7 changed files with 75 additions and 46 deletions
|
|
@ -365,7 +365,7 @@ public class User {
|
|||
for (Map.Entry<UUID, Table> tableEntry : tables.entrySet()) {
|
||||
Table table = tableEntry.getValue();
|
||||
if (table.isTournament()) {
|
||||
if (!table.getTournament().getPlayer(tableEntry.getKey()).getEliminated()) {
|
||||
if (!table.getTournament().getPlayer(tableEntry.getKey()).isEliminated()) {
|
||||
switch (table.getState()) {
|
||||
case CONSTRUCTING:
|
||||
construct++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue