Skip to content

Commit

Permalink
Remove unneeded if
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauriichan committed Apr 14, 2021
1 parent 88258b4 commit 8eec7da
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ public Object extract(NbtTag base) {
if (base.getType() == NbtType.END) {
return null;
}
Object value = extract(base.getValue().getClass(), base);
if (value instanceof NbtTag) {
return extract((NbtTag) value);
}
return value;
return extract(base.getValue().getClass(), base);
}

@Override
Expand Down

0 comments on commit 8eec7da

Please sign in to comment.