[SPIGOT-7397] TileEntitySign's UUID instance variable is compared against EntityHuman's UUID.toString(). Created: 15/Jun/23  Updated: 25/Dec/24  Resolved: 15/Jun/23

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: vk2gpz Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: bug

Version: CraftBukkit version 3804-Spigot-bed8c61-9a21b0b (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

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.



 Comments   
Comment by vk2gpz [ 15/Jun/23 ]

Ok, I must have had a bit old code.  

Comment by md_5 [ 15/Jun/23 ]

That is not correct:

  public UUID ct() {
    return this.ax;
  } 

Even if it was, what is the actual bug you are experiencing?

Generated at Fri Apr 11 15:29:53 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.