Fix DiscoveredDatapack#getSource (#11928)

This commit is contained in:
Lulu13022002
2025-01-07 19:40:45 +01:00
committed by GitHub
parent 337557044e
commit 49d15f6345
2 changed files with 2 additions and 2 deletions

View File

@@ -64,6 +64,6 @@ public class PaperDiscoveredDatapack implements DiscoveredDatapack {
@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());
}
}

View File

@@ -1,6 +1,6 @@
{
"pack": {
"description": "Built-in Paper Datapack",
"pack_format": 41
"pack_format": 61
}
}