mirror of https://github.com/Minestom/Minestom.git
Do not loop through parents if nothing has been removed
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
57832351ea
commit
83baabcbba
|
@ -126,6 +126,7 @@ final class TagHandlerImpl implements TagHandler {
|
|||
{
|
||||
Entry<?>[] finalEntries = pathHandlers[length - 1].entries;
|
||||
if (finalEntries.length > tagIndex) finalEntries[tagIndex] = null;
|
||||
else return;
|
||||
}
|
||||
// Clear empty parents
|
||||
boolean empty = false;
|
||||
|
|
Loading…
Reference in New Issue