3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 23:30:26 +01:00
Dieser Commit ist enthalten in:
Andrew Steinborn 2022-03-31 22:13:05 -04:00
Ursprung 308acd86ec
Commit 95a32ad421

Datei anzeigen

@ -113,11 +113,11 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
private static final int MAX_PLUGIN_CHANNELS = 1024; private static final int MAX_PLUGIN_CHANNELS = 1024;
private static final PlainTextComponentSerializer PASS_THRU_TRANSLATE = PlainTextComponentSerializer.builder() private static final PlainTextComponentSerializer PASS_THRU_TRANSLATE = PlainTextComponentSerializer.builder()
.flattener(ComponentFlattener.basic().toBuilder() .flattener(ComponentFlattener.basic().toBuilder()
.mapper(KeybindComponent.class, c -> "") .mapper(KeybindComponent.class, c -> "")
.mapper(TranslatableComponent.class, TranslatableComponent::key) .mapper(TranslatableComponent.class, TranslatableComponent::key)
.build()) .build())
.build(); .build();
static final PermissionProvider DEFAULT_PERMISSIONS = s -> PermissionFunction.ALWAYS_UNDEFINED; static final PermissionProvider DEFAULT_PERMISSIONS = s -> PermissionFunction.ALWAYS_UNDEFINED;
private static final Logger logger = LogManager.getLogger(ConnectedPlayer.class); private static final Logger logger = LogManager.getLogger(ConnectedPlayer.class);