From a64c6505049082175224802c5be51ac8f0cf4677 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 30 May 2025 12:59:08 -1345 Subject: make fixedbitset require generic const exprs again :3 --- azalea-brigadier/src/context/command_context.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'azalea-brigadier/src/context/command_context.rs') diff --git a/azalea-brigadier/src/context/command_context.rs b/azalea-brigadier/src/context/command_context.rs index 224f2d63..d50c94ab 100644 --- a/azalea-brigadier/src/context/command_context.rs +++ b/azalea-brigadier/src/context/command_context.rs @@ -10,7 +10,7 @@ use crate::{ /// A built `CommandContextBuilder`. pub struct CommandContext { - pub(super) source: Arc, + pub source: Arc, pub(super) input: String, pub(super) arguments: HashMap, pub(super) command: Command, @@ -93,10 +93,6 @@ impl CommandContext { &self.command } - pub fn source(&self) -> &Arc { - &self.source - } - pub fn argument(&self, name: &str) -> Option<&dyn Any> { let argument = self.arguments.get(name); argument.map(|a| a.result.as_ref()) -- cgit v1.2.3