Skip to content

Commit

Permalink
Removido logs
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBedrock committed Feb 12, 2024
1 parent 8bbdc6a commit cd5ef77
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public void onCrateOpen(CrateOpenEvent event) {
this.crateManager.addPlayerToOpeningList(player, crate);

if (crate.getCrateType() != CrateType.cosmic && crate.getCrateType() != CrateType.quick_crate) {
this.plugin.getLogger().info("CrateOpenListener#onCrateOpen - Player " + player.getName() + " is opening a " + crate.getName() + " crate.");
this.crazyHandler.getUserManager().addOpenedCrate(player.getUniqueId(), crate.getName());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ public int getCrateOpened(UUID uuid, String crateName) {

@Override
public void addOpenedCrate(UUID uuid, int amount, String crateName) {
plugin.getLogger().info("BukkitUserManager#addopenedCrate - Adding " + amount + " opened crate for " + uuid + " and " + crateName + ".");
if (isCrateInvalid(crateName)) {
if (this.plugin.isLogging()) this.plugin.getLogger().warning("Crate " + crateName + " doesn't exist.");
return;
Expand Down Expand Up @@ -579,7 +578,6 @@ public void addOpenedCrate(UUID uuid, int amount, String crateName) {

@Override
public void addOpenedCrate(UUID uuid, String crateName) {
this.plugin.getLogger().info("BukkitUserManager#addopenedCrate - Adding opened crate for " + uuid + " and " + crateName + ".");
if (isCrateInvalid(crateName)) {
if (this.plugin.isLogging()) this.plugin.getLogger().warning("Crate " + crateName + " doesn't exist.");
return;
Expand Down

0 comments on commit cd5ef77

Please sign in to comment.