mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Cosmetically improve UUID::equals() (#1517)
This commit is contained in:
@ -39,7 +39,7 @@ class UUID{
|
||||
}
|
||||
|
||||
public function equals(UUID $uuid) : bool{
|
||||
return $uuid->parts[0] === $this->parts[0] and $uuid->parts[1] === $this->parts[1] and $uuid->parts[2] === $this->parts[2] and $uuid->parts[3] === $this->parts[3];
|
||||
return $uuid->parts === $this->parts;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user