Skip to content

Commit

Permalink
- Fixed starter not generating proberly.
Browse files Browse the repository at this point in the history
  • Loading branch information
LauJosefsen committed May 20, 2020
1 parent 15fd90c commit 22b4701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/msharp/MinecraftClasses/NoteStructure.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private BlockLocation GenerateStarter (Schematic schem, boolean building)
for (int lane = 0; lane < lanes; lane++)
toBeConnected.add(new BlockLocation(1, lane * heightPrLane + 3, 0));

while (toBeConnected.size() >= 3) {
while (toBeConnected.size() >= 2) {

// everytime this is run, at least 2 locations are in the queue.
BlockLocation p1 = toBeConnected.remove();
Expand Down

0 comments on commit 22b4701

Please sign in to comment.