Skip to content

Commit

Permalink
permission exception for adding buyer
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximvdw committed Mar 29, 2018
1 parent 00495ba commit 7a7f7f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.List;

import be.maximvdw.spigotsite.api.exceptions.ConnectionFailedException;
import be.maximvdw.spigotsite.api.exceptions.PermissionException;
import be.maximvdw.spigotsite.api.user.User;

/**
Expand Down Expand Up @@ -60,7 +61,7 @@ public interface PremiumResource extends Resource {
* @param user The authenticated plugin author
* @param userid User identifier
*/
void addBuyer(User user, int userid) throws ConnectionFailedException;
void addBuyer(User user, int userid) throws ConnectionFailedException ,PermissionException;

/**
* Add a buyer to a spigot premium resource
Expand Down

0 comments on commit 7a7f7f5

Please sign in to comment.