dev #12

Merged
Persson-dev merged 44 commits from dev into main 2025-05-17 15:05:24 +00:00
Showing only changes of commit 9ff433c257 - Show all commits

View File

@@ -47,8 +47,8 @@ public class World implements Closeable{
public void ejectPiece(Coordinate coordinate) { public void ejectPiece(Coordinate coordinate) {
PieceEntity entity = getPiece(coordinate); PieceEntity entity = getPiece(coordinate);
assert entity != null; if (entity != null)
this.entites.remove(entity); this.entites.remove(entity);
setPieceCoords(null, coordinate); setPieceCoords(null, coordinate);
} }