✨ Try to preserve command sender when getting Brigadier suggestions
This commit is contained in:
parent
ded94567c6
commit
070a719165
5 changed files with 55 additions and 3 deletions
|
|
@ -52,6 +52,9 @@ final class VelocityPluginRegistrationHandler<C> implements CommandRegistrationH
|
|||
velocityCommandManager.getCaptionRegistry()
|
||||
)
|
||||
);
|
||||
this.brigadierManager.brigadierSenderMapper(
|
||||
sender -> this.manager.getCommandSenderMapper().apply(sender)
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue