Open Twanvanl opened 5 years ago
use : player.send(new WhisperMessageComposer(); instead of player.send(new AdvancedAlertMessageComposer();
'WhisperMessageComposer(int, java.lang.String)' in 'com.cometproject.server.network.messages.outgoing.room.avatar.WhisperMessageComposer' cannot be applied to '(java.lang.String, java.lang.String)'
I've taken the liberty to add "possible feature", as it could be changed to settings instead of hardcoding it.
and what if the user isn't in a room? :p no notification? probably gonna need more than just change the alert..
@LeonHartley Hadn't thought of that, but maybe if (inRoom) or some shit..
could use the composer notification
@LeonHartley Hadn't thought of that, but maybe if (inRoom) or some shit..
ye but its easier to just use alerts instead of whisper
Instead of an alert at :points, :coins etc commands send a whisper message