Zaktualizuj 'chess-match/src/main/java/net/hypki/wmi/oop/chess/ChessMatchMain.java'
Fix NullPtrEx
This commit is contained in:
parent
f2ab9db116
commit
b83ac78952
@ -11,7 +11,7 @@ public class ChessMatchMain {
|
|||||||
|
|
||||||
String nextMove = null;
|
String nextMove = null;
|
||||||
while (true) {
|
while (true) {
|
||||||
nextMove = student1White.nextMove(null);
|
nextMove = student1White.nextMove(nextMove);
|
||||||
|
|
||||||
if (nextMove == null)
|
if (nextMove == null)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user