mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 12:42:05 -07:00
Fix DiscoveredDatapack#getSource (#11928)
This commit is contained in:
@@ -64,6 +64,6 @@ public class PaperDiscoveredDatapack implements DiscoveredDatapack {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DatapackSource getSource() {
|
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": {
|
"pack": {
|
||||||
"description": "Built-in Paper Datapack",
|
"description": "Built-in Paper Datapack",
|
||||||
"pack_format": 41
|
"pack_format": 61
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user