mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Fix another bug which making sold message displaying wrong message
This commit is contained in:
1 parent
2d6fe719c1
commit
4c39d34eba
1 file changed
+1
-1
@@ -542,7 +542,7 @@ public class MsgUtil {
|
||||
if (p.getPlayer() != null) {
|
||||
if (transactionMessage.getHoverItem() != null) {
|
||||
try {
|
||||
plugin.getQuickChat().sendItemHologramChat(p.getPlayer(), transactionMessage.getHoverText(), Objects.requireNonNull(Util.deserialize(transactionMessage.getHoverItem())));
|
||||
plugin.getQuickChat().sendItemHologramChat(p.getPlayer(), transactionMessage.getMessage(), Objects.requireNonNull(Util.deserialize(transactionMessage.getHoverItem())));
|
||||
} catch (Exception any) {
|
||||
Util.debugLog("Unknown error, send by plain text.");
|
||||
// Normal msg
|
||||
|
||||
Reference in new issue
Block a user