beet-observer 0.6.1__py3-none-any.whl → 0.6.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- beet_observer/__init__.py +1 -1
- beet_observer/data_pack.py +5 -1
- {beet_observer-0.6.1.dist-info → beet_observer-0.6.2.dist-info}/METADATA +1 -1
- beet_observer-0.6.2.dist-info/RECORD +8 -0
- beet_observer-0.6.1.dist-info/RECORD +0 -8
- {beet_observer-0.6.1.dist-info → beet_observer-0.6.2.dist-info}/LICENSE +0 -0
- {beet_observer-0.6.1.dist-info → beet_observer-0.6.2.dist-info}/WHEEL +0 -0
beet_observer/__init__.py
CHANGED
beet_observer/data_pack.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Any
|
2
2
|
|
3
3
|
import beet.contrib.worldgen as wg
|
4
|
-
from beet import Context, NamespaceProxy
|
4
|
+
from beet import Context, NamespaceProxy, Structure
|
5
5
|
|
6
6
|
|
7
7
|
def gen_dp_overlays(
|
@@ -214,6 +214,10 @@ def gen_registry_overlay(
|
|
214
214
|
else:
|
215
215
|
# check if files are exactly the same
|
216
216
|
try:
|
217
|
+
if isinstance(registry[name], Structure):
|
218
|
+
registry_overlay[name].data["DataVersion"] = registry[name].data[
|
219
|
+
"DataVersion"
|
220
|
+
]
|
217
221
|
if registry[name].data != registry_overlay[name].data:
|
218
222
|
# move file from overlay pack to overlay in build pack
|
219
223
|
ctx.data.overlays[overlay_dir][name] = registry_overlay[name]
|
@@ -0,0 +1,8 @@
|
|
1
|
+
beet_observer/__init__.py,sha256=1bdBi_zNLpip86iamyYYtbrA-WFsbBnrNhqbSx3DP5M,45
|
2
|
+
beet_observer/data_pack.py,sha256=eENwNdgtMfqOXrXCbejnpCPCHca0dJadGLOimalzylQ,9754
|
3
|
+
beet_observer/plugin.py,sha256=mtGBtJNCiUHkSGiAoRl7li0oIlZBQ-cuDS91bubDaPs,2835
|
4
|
+
beet_observer/resource_pack.py,sha256=ZO6Ye-_17IAx5rvsht6Gd3IY10ZtevoOX20mZwxzWnk,5984
|
5
|
+
beet_observer-0.6.2.dist-info/LICENSE,sha256=oBbP6j7sgG9darFSRZxV7iO8yPR1aZiDspSK3mcLpXI,1062
|
6
|
+
beet_observer-0.6.2.dist-info/METADATA,sha256=WMIP8MCT3gM03CSueffQgPcQmwS2eTiE_u4-LirnDN0,674
|
7
|
+
beet_observer-0.6.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
8
|
+
beet_observer-0.6.2.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
beet_observer/__init__.py,sha256=L6JbkcXu2b4CMzeLNR5y21RMc46RINFYzzWYK5vgJNc,45
|
2
|
-
beet_observer/data_pack.py,sha256=JonYeQgjQGP5j6QWH0rTHRckrKAmEqnp1ajiOr1K9BY,9555
|
3
|
-
beet_observer/plugin.py,sha256=mtGBtJNCiUHkSGiAoRl7li0oIlZBQ-cuDS91bubDaPs,2835
|
4
|
-
beet_observer/resource_pack.py,sha256=ZO6Ye-_17IAx5rvsht6Gd3IY10ZtevoOX20mZwxzWnk,5984
|
5
|
-
beet_observer-0.6.1.dist-info/LICENSE,sha256=oBbP6j7sgG9darFSRZxV7iO8yPR1aZiDspSK3mcLpXI,1062
|
6
|
-
beet_observer-0.6.1.dist-info/METADATA,sha256=CZ-tu7EjlToxxmbi0loJZt8t-g2ViZRXr1eRx5wLY4g,674
|
7
|
-
beet_observer-0.6.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
8
|
-
beet_observer-0.6.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|