Fixed plot rating

This commit is contained in:
boy0001 2015-06-05 20:45:13 +10:00
parent 8a90753aa7
commit 28dc3f6c9a
7 changed files with 97 additions and 81 deletions

View file

@ -76,7 +76,7 @@ public interface AbstractDB {
*
* @throws SQLException If the database manager is unable to create the tables
*/
public void createTables(final String database, final boolean add_constraint) throws Exception;
public void createTables(final String database) throws Exception;
/**
* Delete a plot
@ -287,6 +287,13 @@ public interface AbstractDB {
*/
public double getRatings(final Plot plot);
/**
* if uuid has rated
* @param uuid
* @return
*/
public boolean hasRated(String world, PlotId id, UUID uuid);
/**
* Set a rating for a plot
* @param plot