edited String queals in Piece
This commit is contained in:
@@ -161,8 +161,7 @@ public boolean equals(Object obj) {
|
|||||||
Piece piece = (Piece) obj;
|
Piece piece = (Piece) obj;
|
||||||
|
|
||||||
System.out.println("own UUID: " + this.uuid + ". Other UUID: " + piece.uuid);
|
System.out.println("own UUID: " + this.uuid + ". Other UUID: " + piece.uuid);
|
||||||
return Objects.equals(this.uuid.toString(), piece.uuid.toString());
|
return uuid.toString().equals(piece.uuid.toString());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user