Skip to content

Commit

Permalink
chore: remove Sectors from commonworld
Browse files Browse the repository at this point in the history
  • Loading branch information
pollend committed Sep 6, 2021
1 parent 7dc6a86 commit 89261e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 72 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/terasology/commonworld/Sector.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public Sector getNeighbor(Orientation dir) {
int x = coords.x() + v.x();
int z = coords.y() + v.y();

return Sectors.getSector(new Vector2i(x, z));
return new Sector(new Vector2i(x, z));
}

@Override
Expand Down
71 changes: 0 additions & 71 deletions src/main/java/org/terasology/commonworld/Sectors.java

This file was deleted.

0 comments on commit 89261e8

Please sign in to comment.