(Temporarily) Removed dimension indication to tab list due to a lot of bugs
Some checks failed
build / build (push) Has been cancelled

This commit is contained in:
2025-03-18 21:28:04 +01:00
parent 4894b7d389
commit 7b247ce2cc
4 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ public abstract class PlayerManagerMixin {
@Inject(method = {"onPlayerConnect"}, at = {@At(value = "HEAD")})
public void onPlayerConnectHead(ClientConnection connection, ServerPlayerEntity player, ConnectedClientData clientData, CallbackInfo ci) {
DimensionTeams.assignCorrectTeam(player, player.getServerWorld().getRegistryKey().getValue().toTranslationKey());
//DimensionTeams.assignCorrectTeam(player, player.getServerWorld().getRegistryKey().getValue().toTranslationKey());
}
@ModifyArg(method = {"onPlayerConnect"}, at = @At(value = "INVOKE", target = "Lnet/minecraft/server/PlayerManager;broadcast(Lnet/minecraft/text/Text;Z)V"))