Skip to content

Commit

Permalink
Fix DiscoveredDatapack#getSource (#11928)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulu13022002 authored Jan 7, 2025
1 parent 3375570 commit 49d15f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ public Set<FeatureFlag> getRequiredFeatures() {

@Override
public DatapackSource getSource() {
return PACK_SOURCES.computeIfAbsent(this.pack.location().source(), source -> new DatapackSourceImpl(source.toString()));
return PACK_SOURCES.get(this.pack.location().source());
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"description": "Built-in Paper Datapack",
"pack_format": 41
"pack_format": 61
}
}

0 comments on commit 49d15f6

Please sign in to comment.