From aac8e84ec99021cea8dad8572fa51639aae84f22 Mon Sep 17 00:00:00 2001 From: ProdPreva1l Date: Mon, 1 Jul 2024 11:06:03 +1000 Subject: [PATCH] fix spelling mistake --- .../preva1l/fadah/utils/logging/TransactionLogger.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Bukkit/src/main/java/info/preva1l/fadah/utils/logging/TransactionLogger.java b/Bukkit/src/main/java/info/preva1l/fadah/utils/logging/TransactionLogger.java index 2e015f9..bf437e4 100644 --- a/Bukkit/src/main/java/info/preva1l/fadah/utils/logging/TransactionLogger.java +++ b/Bukkit/src/main/java/info/preva1l/fadah/utils/logging/TransactionLogger.java @@ -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())); } @@ -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())); } @@ -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())); } @@ -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())); }