mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-26 18:39:07 +00:00
Message is now run through PAPI and MM
This commit is contained in:
@@ -2,6 +2,7 @@ package com.hibiscusmc.hmccosmetics.gui.action.actions;
|
||||
|
||||
import com.hibiscusmc.hmccosmetics.gui.action.Action;
|
||||
import com.hibiscusmc.hmccosmetics.user.CosmeticUser;
|
||||
import com.hibiscusmc.hmccosmetics.util.MessagesUtil;
|
||||
|
||||
public class ActionMessage extends Action {
|
||||
|
||||
@@ -11,6 +12,6 @@ public class ActionMessage extends Action {
|
||||
|
||||
@Override
|
||||
public void run(CosmeticUser user, String raw) {
|
||||
user.getPlayer().sendMessage(raw);
|
||||
MessagesUtil.sendMessageNoKey(user.getPlayer(), raw);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user