backup befor new branch to test Blockbenh instead of regex renderer
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from library.vanilla_textures import refresh_vanilla_index
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'Rebuild the vanilla entity-texture index (media/vanilla/entity_index.json).'
|
||||
|
||||
def handle(self, *args, **options):
|
||||
index = refresh_vanilla_index()
|
||||
self.stdout.write(self.style.SUCCESS(f'Indexed {len(index)} entities.'))
|
||||
Reference in New Issue
Block a user