Enhance the sending message API
- Change sendGameMessage call to addGameMessage to allow sending messages with all supported fields - Update chat message manager to support sending messages with all supported fields
This commit is contained in:
@@ -122,9 +122,9 @@ public abstract class RSClientMixin implements RSClient
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public void sendGameMessage(ChatMessageType type, String message)
|
||||
public void addChatMessage(ChatMessageType type, String name, String message, String sender)
|
||||
{
|
||||
sendGameMessage(type.getType(), "", message);
|
||||
addChatMessage(type.getType(), name, message, sender);
|
||||
}
|
||||
|
||||
@Inject
|
||||
|
||||
Reference in New Issue
Block a user