mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-02 11:21:15 +01:00
Fix NamespaceID tests
This commit is contained in:
parent
b861426c8f
commit
9e6b1203e1
@ -79,16 +79,16 @@ public class NamespaceID implements CharSequence, Keyed {
|
|||||||
this.path = path.substring(index + 1);
|
this.path = path.substring(index + 1);
|
||||||
}
|
}
|
||||||
this.full = toString();
|
this.full = toString();
|
||||||
this.key = Key.key(this.domain, this.path);
|
|
||||||
validate();
|
validate();
|
||||||
|
this.key = Key.key(this.domain, this.path);
|
||||||
}
|
}
|
||||||
|
|
||||||
private NamespaceID(String domain, String path) {
|
private NamespaceID(String domain, String path) {
|
||||||
this.domain = domain;
|
this.domain = domain;
|
||||||
this.path = path;
|
this.path = path;
|
||||||
this.full = toString();
|
this.full = toString();
|
||||||
this.key = Key.key(domain, path);
|
|
||||||
validate();
|
validate();
|
||||||
|
this.key = Key.key(this.domain, this.path);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void validate() {
|
private void validate() {
|
||||||
|
Loading…
Reference in New Issue
Block a user