mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-08 05:23:01 +00:00
Fixed plot rating
This commit is contained in:
parent
8a90753aa7
commit
28dc3f6c9a
7 changed files with 97 additions and 81 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue