mirror of
https://github.com/lov3b/Schack.git
synced 2025-01-18 21:00:11 +01:00
Remove sout
This commit is contained in:
parent
a5fa29a02d
commit
e719cf48fe
@ -67,7 +67,6 @@ public abstract class Piece extends Component {
|
|||||||
// Instead of checking index and null, try-catch
|
// Instead of checking index and null, try-catch
|
||||||
try {
|
try {
|
||||||
Piece p = pieces[pos.x][pos.y];
|
Piece p = pieces[pos.x][pos.y];
|
||||||
System.out.println(p);
|
|
||||||
// If this piece is the same team as ours, skip
|
// If this piece is the same team as ours, skip
|
||||||
if (p.isWhite == this.isWhite) {
|
if (p.isWhite == this.isWhite) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user