mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Merge pull request #7030 from BrunoChevalier/master
Additional fixes for pvs-studio report, see #7021 * Rename BasicSaheekiSublimeArtificerTest.java to BasicSaheeliSublimeArtificerTest.java * S3Uploader.java: Remove redundant null check * Effects.java: remove redundant check. When in the else part, the lastRule already is guaranteed to not end on a dot * TableController.java: change warning message when match == null to avoid nullpointer exception * Reverted already fixed line from, see #7021 Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
This commit is contained in:
commit
5831ba81fc
3 changed files with 10 additions and 10 deletions
|
|
@ -975,7 +975,7 @@ public class TableController {
|
|||
if (!(table.getState() == TableState.WAITING || table.getState() == TableState.STARTING || table.getState() == TableState.READY_TO_START)) {
|
||||
if (match == null) {
|
||||
logger.warn("- Match table with no match:");
|
||||
logger.warn("-- matchId:" + match.getId() + " , table : " + table.getId());
|
||||
logger.warn("-- match: null , table : " + table.getId());
|
||||
// return false;
|
||||
} else if (match.isDoneSideboarding() && match.getGame() == null) {
|
||||
// no sideboarding and not active game -> match seems to hang (maybe the Draw bug)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue