Skip to content

Commit

Permalink
Update Menu.java
Browse files Browse the repository at this point in the history
  • Loading branch information
leelawd committed Feb 14, 2019
1 parent 59d0a88 commit 5133c36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void updateMenu(Player player, ChunkLoader chunkLoader, Inventory invento
lores.add(Text.of("Radius: " + radius));
lores.add(Text.of("Chunks: " + chunks));
keys.put(Keys.ITEM_LORE, lores);
keys.put(Keys.DISPLAY_NAME, Text.of((chunkLoader.getRadius() == radius ? "Size: " + (radius + 1) + " [Active]" : "Size: " + (radius + 1))));
keys.put(Keys.DISPLAY_NAME, Text.of((chunkLoader.getRadius() == radius ? "Size: " + getReadableSize(radius + 1) + " [Active]" : "Size: " + getReadableSize(radius + 1))));
addMenuOption(inventory, slotPos, (chunkLoader.getRadius() == radius ? ACTIVE_TYPE : INACTIVE_TYPE), keys);
pos++;
radius++;
Expand Down

0 comments on commit 5133c36

Please sign in to comment.