mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-29 12:37:42 +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 {
|
||||
synchronized (this) {
|
||||
node = traversePathWrite(root, tag, false);
|
||||
if (node != null) node.entries.remove(tagIndex);
|
||||
if (node == null) return;
|
||||
node.entries.remove(tagIndex);
|
||||
}
|
||||
}
|
||||
node.invalidate();
|
||||
|
Loading…
Reference in New Issue
Block a user