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;
|
||||
while (true) {
|
||||
nextMove = student1White.nextMove(null);
|
||||
nextMove = student1White.nextMove(nextMove);
|
||||
|
||||
if (nextMove == null)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user