Actionbar Sending in Main Chat

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • None
    • Environment:

      Windows, Java 17

    • CraftBukkit version 3499-Spigot-87c4d13-64c1527 (MC: 1.19) (Implementing API version 1.19-R0.1-SNAPSHOT)
    • Yes

      Only running Spigot 1.19 #3499 and a plugin that does the following

      @EventHandler
      public void onMove(PlayerMoveEvent e) {        
          NumberFormat nf = NumberFormat.getInstance();
          nf.setMaximumFractionDigits(0);
      
          Player player = e.getPlayer();
          player.spigot().sendMessage(ChatMessageType.ACTION_BAR, new TextComponent(ChatColor.RED + player.getFacing().name() + ChatColor.GRAY + " X:" + nf.format(player.getLocation().getX()) + " Y:" + nf.format(player.getLocation().getY()) + " Z:" + nf.format(player.getLocation().getZ())));
      } 

            Assignee:
            Unassigned
            Reporter:
            Brent P
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: