dfpyre 0.7.9__py3-none-any.whl → 0.7.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dfpyre might be problematic. Click here for more details.

dfpyre/scriptgen.py CHANGED
@@ -97,6 +97,8 @@ def argument_item_to_string(flags: GeneratorFlags, arg_item: object) -> str:
97
97
  return f'{class_name}("{arg_item.name}", {arg_item.dur}, {arg_item.amp})'
98
98
 
99
99
  if isinstance(arg_item, gamevalue):
100
+ if arg_item.target == 'Default':
101
+ return f'{class_name}("{arg_item.name}")'
100
102
  return f'{class_name}("{arg_item.name}", "{arg_item.target}")'
101
103
 
102
104
  if isinstance(arg_item, parameter):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dfpyre
3
- Version: 0.7.9
3
+ Version: 0.7.10
4
4
  Summary: A package for creating and modifying code templates for the DiamondFire Minecraft server.
5
5
  Home-page: https://github.com/Amp63/pyre
6
6
  License: MIT
@@ -3,10 +3,10 @@ dfpyre/actiondump.py,sha256=YR5h0ZjgyqNkHUCkLLKS0ovMFZQ8WSKuJQzGncT27cA,2664
3
3
  dfpyre/data/actiondump_min.json,sha256=hFcIbG_G55FWwqRSW6X77ZrKkQiXLs4CGgJrZgyR2Gg,1938799
4
4
  dfpyre/items.py,sha256=WIiuslk6qyPUWSndDFEUqz_TNGUgIb0YgXrwh2Lokfs,11746
5
5
  dfpyre/pyre.py,sha256=swF4up0nHY0NJHLR08YrMZfot62GYaqavEVwGZdXUIw,18773
6
- dfpyre/scriptgen.py,sha256=Klfbsm2qgv9FOQTqpA3CSPyV3XSx4A27DZIvekkVGGw,6412
6
+ dfpyre/scriptgen.py,sha256=bUjT9iIzd5fhXOG2hQ7hWY8C-hwTRJlI0i6Fjthulic,6509
7
7
  dfpyre/style.py,sha256=YRSKEg5r8rkZH62WkRQYbTPgTWVVGVXLnx4edShs0NM,1001
8
8
  dfpyre/util.py,sha256=KThtsPQh4Ep3UXPvJGw5jrzEcM4cDqDG5IG1FXUQROI,610
9
- dfpyre-0.7.9.dist-info/LICENSE,sha256=nqCBVqcbIX-9lhVDarggfrjgNZoPlKKlyl0-hOPS2wQ,1081
10
- dfpyre-0.7.9.dist-info/METADATA,sha256=yAm5NzCsjYopDRvk0RMpRjzr0QhNFXP5P6mi0pYR_oc,11754
11
- dfpyre-0.7.9.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
12
- dfpyre-0.7.9.dist-info/RECORD,,
9
+ dfpyre-0.7.10.dist-info/LICENSE,sha256=nqCBVqcbIX-9lhVDarggfrjgNZoPlKKlyl0-hOPS2wQ,1081
10
+ dfpyre-0.7.10.dist-info/METADATA,sha256=8Nx4Q8QFHk4fKoMb1FDin0mUcjcgtNTzv0Idd0QnqJo,11755
11
+ dfpyre-0.7.10.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
12
+ dfpyre-0.7.10.dist-info/RECORD,,