mirror of
https://github.com/nixietab/picodulce.git
synced 2025-04-10 10:28:56 +01:00
Update picodulce.py
This commit is contained in:
parent
06ddb8936a
commit
33d85e4cb2
@ -862,11 +862,13 @@ class PicomcVersionSelector(QWidget):
|
|||||||
else:
|
else:
|
||||||
state = f"Playing {self.current_state}"
|
state = f"Playing {self.current_state}"
|
||||||
|
|
||||||
# Determine the appropriate large image
|
# Determine the appropriate large image based on the current_state
|
||||||
if "forge" in self.current_state.lower():
|
if "forge" in self.current_state.lower():
|
||||||
large_image = "forge"
|
large_image = "forge"
|
||||||
elif "fabric" in self.current_state.lower():
|
elif "fabric" in self.current_state.lower():
|
||||||
large_image = "fabric"
|
large_image = "fabric"
|
||||||
|
elif "optifine" in self.current_state.lower(): # Check for OptiFine
|
||||||
|
large_image = "optifine"
|
||||||
else:
|
else:
|
||||||
large_image = "vanilla" # Default to vanilla if no specific patterns match
|
large_image = "vanilla" # Default to vanilla if no specific patterns match
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user