modified: app.py
This commit is contained in:
5
app.py
5
app.py
@@ -120,10 +120,11 @@ def minecraft():
|
|||||||
"""Dedicated Minecraft development page"""
|
"""Dedicated Minecraft development page"""
|
||||||
all_projects = load_projects()
|
all_projects = load_projects()
|
||||||
|
|
||||||
# Filter minecraft plugins only
|
# Filter minecraft plugins only (velocity, spigot, paper, bukkit, etc.)
|
||||||
|
minecraft_project_types = ['minecraft', 'velocity', 'spigot', 'paper', 'bukkit', 'purpur']
|
||||||
minecraft_projects = []
|
minecraft_projects = []
|
||||||
for key, info in all_projects.items():
|
for key, info in all_projects.items():
|
||||||
if info.get('project_type') == 'minecraft' and info.get('name'):
|
if info.get('project_type') in minecraft_project_types and info.get('name'):
|
||||||
proj = {
|
proj = {
|
||||||
'name': info.get('name'),
|
'name': info.get('name'),
|
||||||
'description': info.get('description', ''),
|
'description': info.get('description', ''),
|
||||||
|
|||||||
Reference in New Issue
Block a user