mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Cosmetically improve UUID::equals() (#1517)
This commit is contained in:
parent
6ebe3bfbea
commit
2ec7763bd6
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user