mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-01 14:07:43 +01:00
Fix npe
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
cda46d184e
commit
a04012d9bf
@ -76,7 +76,8 @@ final class TagHandlerImpl implements TagHandler {
|
|||||||
} else {
|
} else {
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
node = traversePathWrite(root, tag, false);
|
node = traversePathWrite(root, tag, false);
|
||||||
if (node != null) node.entries.remove(tagIndex);
|
if (node == null) return;
|
||||||
|
node.entries.remove(tagIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
node.invalidate();
|
node.invalidate();
|
||||||
|
Loading…
Reference in New Issue
Block a user