Skip to content

Commit

Permalink
Fixed refactoring typo
Browse files Browse the repository at this point in the history
Signed-off-by: DevDrizzy <[email protected]>
  • Loading branch information
DevDrizzy committed Aug 11, 2024
1 parent ace1f7a commit a41a692
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/xyz/refinedev/api/tablist/setup/TabLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class TabLayout {

/**
* {@link Integer Mod} is the modification integer
* used to determine rows/columns from index of the {@link xyz.refinedev.api.tablist.setup.TabEntry}.
* used to determine rows/columns from index of the {@link TabEntry}.
*/
@Getter private final int mod;
/**
Expand Down Expand Up @@ -187,7 +187,7 @@ public void create() {
public void refresh() {
TablistHandler tablistHandler = TablistHandler.getInstance();
try {
List<xyz.refinedev.api.tablist.setup.TabEntry> entries = tablistHandler.getAdapter().getLines(player);
List<TabEntry> entries = tablistHandler.getAdapter().getLines(player);
if (entries.isEmpty()) {
for ( int i = 0; i < 80; i++ ) {
this.update(i, "", 0, Skin.DEFAULT_SKIN);
Expand All @@ -196,7 +196,7 @@ public void refresh() {
}

for ( int i = 0; i < 80; i++ ) {
xyz.refinedev.api.tablist.setup.TabEntry entry = i < entries.size() ? entries.get(i) : null;
TabEntry entry = i < entries.size() ? entries.get(i) : null;
if (entry == null) {
this.update(i, "", 0, Skin.DEFAULT_SKIN);
continue;
Expand Down Expand Up @@ -366,7 +366,7 @@ public void update(int index, String text, int ping, Skin skin) {
}

/**
* Update the {@link xyz.refinedev.api.tablist.setup.TabEntry}'s ping
* Update the {@link TabEntry}'s ping
*
* @param info {@link TabEntryInfo info}
* @param ping {@link Integer ping}
Expand Down

0 comments on commit a41a692

Please sign in to comment.