Skip to content

Commit

Permalink
JavaDoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jul 31, 2021
1 parent 1c55fea commit 2fe7df2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AdvancementsManager {
private int unknownAdvChange;

/**
* @param addon
* @param addon addon
*/
public AdvancementsManager(Boxed addon) {
this.addon = addon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class DeleteGen extends ChunkGenerator {

private final Map<World, World> backMap;
/**
* @param addon
* @param addon addon
*/
public DeleteGen(Boxed addon) {
backMap = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
*/
public class AdvancementListener implements Listener {

private Boxed addon;
private final Boxed addon;
private final Advancement netherAdvancement;
private final Advancement endAdvancement;
private final Advancement netherRoot;
private final Advancement endRoot;

/**
* @param addon
* @param addon addon
*/
public AdvancementListener(Boxed addon) {
this.addon = addon;
Expand Down Expand Up @@ -145,7 +145,7 @@ private void informPlayer(User user, NamespacedKey key, int score) {
private String keyToString(User user, NamespacedKey key) {
String adv = user.getTranslationOrNothing("boxed.advancements." + key.toString());
if (adv.isEmpty()) {
adv = Util.prettifyText(key.getKey().substring(key.getKey().lastIndexOf("/") + 1, key.getKey().length()));
adv = Util.prettifyText(key.getKey().substring(key.getKey().lastIndexOf("/") + 1));
}
return adv;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class EnderPearlListener implements Listener {
private final Boxed addon;

/**
* @param addon
* @param addon addon
*/
public EnderPearlListener(Boxed addon) {
this.addon = addon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class IslandAdvancements implements DataObject {
List<String> advancements = new ArrayList<>();

/**
* @param uniqueId
* @param uniqueId unique ID
*/
public IslandAdvancements(String uniqueId) {
this.uniqueId = uniqueId;
Expand Down

0 comments on commit 2fe7df2

Please sign in to comment.