Skip to content

Commit

Permalink
Atualização de arquivos locais
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBedrock committed Sep 18, 2024
1 parent af41ca8 commit b3c868f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion paper/run/server.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Minecraft server properties
#Wed Sep 18 09:32:05 GMT-03:00 2024
#Wed Sep 18 10:49:27 GMT-03:00 2024
accepts-transfers=false
allow-flight=false
allow-nether=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ public void load() {
this.bukkitCommandManager.registerSuggestion(SuggestionKey.of("prizes"), (sender, context) -> {
List<String> numbers = new ArrayList<>();

this.plugin.getCrateManager().getCrateFromName(context.getArgs().get(0)).getPrizes().forEach(prize -> numbers.add(prize.getPrizeNumber()));
this.plugin.getCrateManager().getCrateFromName(context.getArgs().getFirst()).getPrizes().forEach(prize -> numbers.add(prize.getPrizeNumber()));

return numbers;
});

this.bukkitCommandManager.registerSuggestion(SuggestionKey.of("tiers"), (sender, context) -> {
List<String> numbers = new ArrayList<>();

this.plugin.getCrateManager().getCrateFromName(context.getArgs().get(0)).getTiers().forEach(tier -> numbers.add(tier.getName()));
this.plugin.getCrateManager().getCrateFromName(context.getArgs().getFirst()).getTiers().forEach(tier -> numbers.add(tier.getName()));

return numbers;
});
Expand Down

0 comments on commit b3c868f

Please sign in to comment.