fix: Crashing

This commit is contained in:
2025-12-21 15:14:18 +01:00
parent d5f8eb9ed8
commit ef40f40809

View File

@@ -24,9 +24,6 @@ public class RoomCords {
}
public void updateCordsWithColliders(List<GameRoomPart> colliders, int x, int y) {
log.debug("Collider: {}", colliders.get(0));
log.debug("x: {}, y: {}", x, y);
if (colliders.stream().anyMatch(collider -> collider.isWithin(new RoomCords(x, y)))) {
return;
}