Skip to content

Commit

Permalink
Update plugin_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
brostosjoined authored Oct 3, 2023
1 parent e57c541 commit 68360e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ def latest_compatible_version(self):
break
if self._latest_compatible_version is None:
raise NoCompatibleVersion(
f"{self.name} has no version compatible with API {babase.app.api_version}."
f"{self.name} has no version compatible with API {babase.app.api_version if build_number < 21282 else babase.app.env.api_version}."
)
return self._latest_compatible_version

Expand Down Expand Up @@ -2072,7 +2072,7 @@ async def draw_ui(self):
size=(0, 0),
h_align='center',
v_align='center',
text=f'API Version: {babase.app.api_version}',
text=f'API Version: {babase.app.api_version if build_number < 21282 else babase.app.env.api_version}',
scale=text_scale * 0.7,
color=(0.4, 0.8, 1),
maxwidth=width * 0.95)
Expand Down

0 comments on commit 68360e7

Please sign in to comment.