Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7397

TileEntitySign's UUID instance variable is compared against EntityHuman's UUID.toString().

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • CraftBukkit version 3804-Spigot-bed8c61-9a21b0b (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT)
    • Yes

      TileEntitySign's

      public void a(EntityHuman entityhuman, boolean flag, List<FilteredText> list) {
      if (!this.w() && entityhuman.ct().equals(this.v()) && this.o != null) {
      ...

       

      entityhuman.ct().equals(this.v()) should be entityhuman.cs().equals(this.v()) ??

      ct() returns String (from UUID.toString(), whereas cs() returns UUID.

      TileEntitySign's v() returns UUID.

            Unassigned Unassigned
            vk2gpz vk2gpz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: