mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +00:00
Reverse sender/recipient in relational placeholders
This commit is contained in:
1 parent
8c92f0f814
commit
af12f92650
4 files changed
+7
-7
No files matched your search
@@ -72,7 +72,7 @@ public class VelocityMessageRenderer implements CarbonMessageRenderer {
|
||||
if (sourced.sender() instanceof CarbonPlayerVelocity sender) {
|
||||
tagResolver.resolver(MiniPlaceholders.getAudiencePlaceholders(sender));
|
||||
if (sourced.recipient() instanceof CarbonPlayerVelocity recipient) {
|
||||
tagResolver.resolver(MiniPlaceholders.getRelationalGlobalPlaceholders(sender, recipient));
|
||||
tagResolver.resolver(MiniPlaceholders.getRelationalGlobalPlaceholders(recipient, sender));
|
||||
}
|
||||
} else if (sourced.sender() instanceof ConsoleCarbonPlayer console) {
|
||||
// I don't know if this will ever actually resolve anything, or if anything supports console audience
|
||||
|
||||
Reference in new issue
Block a user