beet-observer 0.6.2__tar.gz → 0.7.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {beet_observer-0.6.2 → beet_observer-0.7.0}/PKG-INFO +1 -1
- {beet_observer-0.6.2 → beet_observer-0.7.0}/beet_observer/__init__.py +1 -1
- {beet_observer-0.6.2 → beet_observer-0.7.0}/beet_observer/data_pack.py +3 -0
- {beet_observer-0.6.2 → beet_observer-0.7.0}/beet_observer/resource_pack.py +3 -0
- {beet_observer-0.6.2 → beet_observer-0.7.0}/pyproject.toml +1 -1
- {beet_observer-0.6.2 → beet_observer-0.7.0}/LICENSE +0 -0
- {beet_observer-0.6.2 → beet_observer-0.7.0}/README.md +0 -0
- {beet_observer-0.6.2 → beet_observer-0.7.0}/beet_observer/plugin.py +0 -0
@@ -110,6 +110,9 @@ def gen_dp_overlays(
|
|
110
110
|
for registry, registry_overlay in file_types:
|
111
111
|
check_registry(ctx, ctx_overlay, overlay_dir, registry, registry_overlay)
|
112
112
|
|
113
|
+
# add current overlays to pack
|
114
|
+
ctx.data.overlays.merge(ctx_overlay.data.overlays)
|
115
|
+
|
113
116
|
# get pack.mcmeta overlay entries
|
114
117
|
mcmeta: dict[str, dict[str, list[dict[str, Any]]]] = ctx.data.mcmeta.data.copy()
|
115
118
|
if "overlays" not in mcmeta:
|
@@ -38,6 +38,9 @@ def gen_rp_overlays(
|
|
38
38
|
for registry, registry_overlay in file_types:
|
39
39
|
check_registry(ctx, ctx_overlay, overlay_dir, registry, registry_overlay)
|
40
40
|
|
41
|
+
# add current overlays to pack
|
42
|
+
ctx.assets.overlays.merge(ctx_overlay.assets.overlays)
|
43
|
+
|
41
44
|
# get pack.mcmeta overlay entries
|
42
45
|
mcmeta: dict[str, dict[str, list[dict[str, Any]]]] = ctx.assets.mcmeta.data.copy()
|
43
46
|
if "overlays" not in mcmeta:
|
File without changes
|
File without changes
|
File without changes
|