Skip to content

Commit

Permalink
refactor TimeObject to TimeEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
steve4744 committed May 16, 2020
1 parent de911d2 commit 63946bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/github/steve4744/parkourtopten/CourseListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.bukkit.event.Listener;

import io.github.a5h73y.Parkour;
import io.github.a5h73y.database.TimeObject;
import io.github.a5h73y.database.TimeEntry;
import io.github.a5h73y.event.PlayerFinishCourseEvent;
import io.github.a5h73y.utilities.Utils;

Expand Down Expand Up @@ -60,7 +60,7 @@ public void displayTopTen() {
topTenLocation.getWorld().getChunkAt(topTenLocation).load();

// Get the top 10 times for the course
List<TimeObject> topten = Parkour.getDatabase().getTopCourseResults(courseName.toLowerCase(), 10);
List<TimeEntry> topten = Parkour.getDatabase().getTopCourseResults(courseName.toLowerCase(), 10);

int i = 0;
Block b = topTenLocation.getBlock();
Expand Down

0 comments on commit 63946bb

Please sign in to comment.