Skip to content

Commit

Permalink
fix spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ProdPreva1l committed Jul 1, 2024
1 parent 6c09d77 commit aac8e84
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void listingCreated(Listing listing) {
Fadah.getINSTANCE().getDatabase().addToHistory(listing.getOwner(), historicItem);

// Log file logs
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[NEW LISTING] Seller: {0} ({1}), getPrice: {2}, getItemStack: {3}",
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[NEW LISTING] Seller: {0} ({1}), Price: {2}, ItemStack: {3}",
Bukkit.getOfflinePlayer(listing.getOwner()).getName(), Bukkit.getOfflinePlayer(listing.getOwner()).getUniqueId().toString(),
listing.getPrice(), listing.getItemStack().toString()));
}
Expand All @@ -46,7 +46,7 @@ public void listingSold(Listing listing, Player buyer) {
CacheSync.send(CacheSync.CacheType.HISTORY, buyer.getUniqueId());

// Log file logs
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[LISTING SOLD] Seller: {0} ({1}), Buyer: {2} ({3}), getPrice: {4}, getItemStack: {5}",
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[LISTING SOLD] Seller: {0} ({1}), Buyer: {2} ({3}), Price: {4}, ItemStack: {5}",
listing.getOwnerName(), listing.getOwner(), buyer.getName(), buyer.getUniqueId(), listing.getPrice(), listing.getItemStack()));
}

Expand All @@ -59,7 +59,7 @@ public void listingRemoval(Listing listing, boolean isAdmin) {
Fadah.getINSTANCE().getDatabase().addToHistory(listing.getOwner(), historicItem);

// Log file logs
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[LISTING REMOVED] Seller: {0} ({1}), getPrice: {2}, getItemStack: {3}",
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[LISTING REMOVED] Seller: {0} ({1}), Price: {2}, ItemStack: {3}",
Bukkit.getOfflinePlayer(listing.getOwner()).getName(), Bukkit.getOfflinePlayer(listing.getOwner()).getUniqueId().toString(),
listing.getPrice(), listing.getItemStack().toString()));
}
Expand All @@ -72,7 +72,7 @@ public void listingExpired(Listing listing) {
Fadah.getINSTANCE().getDatabase().addToHistory(listing.getOwner(), historicItem);

// Log file logs
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[LISTING EXPIRED] Seller: {0} ({1}), getPrice: {2}, getItemStack: {3}",
Fadah.getINSTANCE().getTransactionLogger().info(StringUtils.formatPlaceholders("[LISTING EXPIRED] Seller: {0} ({1}), Price: {2}, ItemStack: {3}",
Bukkit.getOfflinePlayer(listing.getOwner()).getName(), Bukkit.getOfflinePlayer(listing.getOwner()).getUniqueId().toString(),
listing.getPrice(), listing.getItemStack().toString()));
}
Expand Down

0 comments on commit aac8e84

Please sign in to comment.