Fix another bug which making sold message displaying wrong message

This commit is contained in:
sandtechnology committed 2021-06-17 00:14:04 +08:00
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