Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

/**
* Handles interactions with the GitHub API.
* This is a rewrite of {@link https://github.com/Poslovitch/GitHubWebAPI4}, which is now out of date
* This is a rewrite of https://github.com/Poslovitch/GitHubWebAPI4, which is now out of date
* and this code only implements parts that are used by BentoBox and not all of it.
*/
public class GitHubWebAPI {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public String getFullName() {
/**
* Fetches the content of a file in the repository.
*
* @param fpath The path to the file.
* @param path The path to the file.
* @return A GitHubFile object representing the file content.
* @throws Exception If an error occurs during the request.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ public BlueprintEntity() {
/**
* Set the villager stats
* @param v - villager
* @param bpe - Blueprint Entity
*/
private void configVillager(Villager v) {
this.setExperience(v.getVillagerExperience());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @author tastybento
*
* @param <T> Tag class to be serialized
* @param <E> Tag class to be serialized
*/
public final class TagTypeAdapter<E extends Keyed> extends TypeAdapter<Tag<E>> {
private final TypeAdapter<String> stringAdapter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void clearBlockInfo(Location location) {
/**
* Returns Optional empty if the provided {@link ItemStack} is not a custom item created with ItemsAdder.
*
* @param itemStack the Bukkit ItemStack
* @param myItemStack the Bukkit ItemStack
* @return optional namespacedId or empty
*/
public static Optional<String> getNamespacedId(ItemStack myItemStack) {
Expand All @@ -105,7 +105,7 @@ public static Set<String> getAllBlocks() {
/**
* Gets the Namespace and ID in the format {@code namespace:id} of the placed CustomBlock in a specific location.
*
* @param location the location to check
* @param loc the location to check
* @return the Namespace and ID in the format {@code namespace:id} or null if it's not a CustomBlock.
*/
public static String getInCustomRegion(Location loc) {
Expand Down Expand Up @@ -134,7 +134,7 @@ public static Optional<ItemStack> getItemStack(String namespacedId) {
* not exist it will fail silently.
*
* @param namespacedId Namespace and ID in the format {@code namespace:id}
* @param location The location to place the CustomBlock
* @param loc The location to place the CustomBlock
*/
public static void place(String namespacedId, Location loc) {
CustomBlock.place(namespacedId, loc);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public void testNoIsland() {
// Test the reset command
// Does not have island
assertFalse(irc.canExecute(user, irc.getLabel(), Collections.emptyList()));
verify(user).sendMessage("general.errors.no-island");
verify(user).sendMessage("general.errors.not-owner");
}

/**
Expand Down