Skip to content

Commit

Permalink
Remove forgotten printing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollczi committed Mar 10, 2022
1 parent 8a3494e commit d50a59c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/dev/rollczi/liteskull/LiteSkullAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ public LiteSkullAPI(
// [Async] Get from Player
this.completableHandler.of(playerExtractor.extractData(playerName)).acceptAsync(optional -> {
if (optional.isPresent()) {
Bukkit.broadcastMessage("From profile " + playerName);
completableSkullData.complete(optional.get());
completableSkullDataToCache.complete(optional.get());
completableSkullDataToDataBase.complete(optional.get());
Expand All @@ -117,7 +116,6 @@ public LiteSkullAPI(
// [Async] Get from Database
this.completableHandler.of(database.extractData(playerName)).acceptAsync(optionalData -> {
if (optionalData.isPresent()) {
Bukkit.broadcastMessage("From Database " + playerName);
completableSkullData.complete(optionalData.get());
completableSkullDataToCache.complete(optionalData.get());
return;
Expand All @@ -126,7 +124,6 @@ public LiteSkullAPI(
// [Async] Get from API
this.completableHandler.of(apiExtractor.extractData(playerName)).acceptAsync(optionalApi -> {
if (optionalApi.isPresent()) {
Bukkit.broadcastMessage("From API " + playerName);
completableSkullData.complete(optionalApi.get());
completableSkullDataToCache.complete(optionalApi.get());
completableSkullDataToDataBase.complete(optionalApi.get());
Expand All @@ -135,7 +132,6 @@ public LiteSkullAPI(


// Get default skull data
Bukkit.broadcastMessage("From default " + playerName);
completableSkullData.complete(skullDataDefault.defaultSkullData());
});
});
Expand Down

0 comments on commit d50a59c

Please sign in to comment.