Change the asset keys

This commit is contained in:
2026-11-04 21:54:01 -03:00
parent ba4b2a8798
commit 4683b09e10
20 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const PIXEL = 1 / 16;
export function render_mod_entity(entity: RemoteEntity, camera: Camera, partial_tick: number) {
const json = EverythingRegistry.get<EntityJson>("entities", entity.type);
if (!json) return;
const atlas = AssetManager.instance.get<Texture>("bworld:textures");
const atlas = AssetManager.instance.get<Texture>("cubi:textures");
const region = get_sprite_region(json.texture);
const hurt = entity.hurt_time > 0 || entity.dead ? HURT_TINT : undefined;
const tint = entity_tint(entity, partial_tick, hurt, entity.data.on_fire === true);