Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Commit

Permalink
fix mwlist
Browse files Browse the repository at this point in the history
  • Loading branch information
meyason committed Oct 17, 2023
1 parent 408a3d0 commit 089dfdb
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command
}
}
player.sendMessage("§a公開状態 | ワールド | ワープポイント名");
int mywarp_i = 0;
for(int i = 0; i < 5; i++){
i = i + (page * 5);
if(mywarpList.size() <= i){
mywarp_i = i + (page * 5);
if(mywarpList.size() <= mywarp_i){
break;
}
Mywarp mywarp = mywarpList.get(i);
Mywarp mywarp = mywarpList.get(mywarp_i);
String mwprivate = " 公開 ";
if(mywarp.getIs_private()) {
mwprivate = "非公開 ";
Expand Down

0 comments on commit 089dfdb

Please sign in to comment.