Fix javadoc

This commit is contained in:
Flowsqy 2021-12-30 12:21:44 +01:00
parent 9e1f715595
commit 59152bbf30
2 changed files with 3 additions and 5 deletions

View File

@ -36,9 +36,8 @@ public abstract class ShopSubCommand {
* Execute the sub command
* @param sender Sender of the command
* @param command Command which was executed
* @param args Arguments of the command ({@code args[0]} is the sub command's name)
* @param label Alias of the command which was used
* @param args Passed command arguments
* @param args Arguments of the command ({@code args[0]} is the sub command's name)
* @return Whether the sender should be sent the help message
*/
public boolean execute(CommandSender sender, Command command, String label, String[] args) {

View File

@ -286,7 +286,7 @@ public class ShopUtils {
/**
* Get the amount of shops of a player
* @param p Player, whose shops should be counted
* @return The amount of a shops a player has (if {@link Config#excludeAdminShops} is true, admin shops won't be counted)
* @return The amount of a shops a player has (admin shops won't be counted)
*/
public int getShopAmount(OfflinePlayer p) {
return playerShopAmount.getOrDefault(p.getUniqueId(), new Counter()).get();
@ -352,9 +352,8 @@ public class ShopUtils {
/**
* Gets all shops in the given chunks from the database and adds them to the server
* @param chunk The chunks to load shops from
* @param chunks The chunks to load shops from
* @param callback Callback that returns the amount of shops added if succeeded
* @see ShopUtils#loadShops(Chunk Callback)
*/
public void loadShops(final Chunk[] chunks, final Callback<Integer> callback) {
plugin.getShopDatabase().getShopsInChunks(chunks, new Callback<Collection<Shop>>(plugin) {