mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
Fix DiscoveredDatapack#getSource (#11928)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "Built-in Paper Datapack",
|
||||
"pack_format": 41
|
||||
"pack_format": 61
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user