Fluid containers
This commit is contained in:
@@ -161,8 +161,7 @@ export class ModGraphics implements Graphics {
|
||||
if (!EverythingRegistry.get<ItemRegistry>("items", id)) throw new Error(`unknown item ${id}`);
|
||||
const stack = new ItemStack(id, count);
|
||||
// the count only shows when it's more than one
|
||||
if (count === 1) stack.max_amount = 1;
|
||||
draw_item(stack, this.#x(x), this.#y(y));
|
||||
draw_item(stack, this.#x(x), this.#y(y), count !== 1 && stack.max_amount !== 1);
|
||||
}
|
||||
|
||||
clip(x: number, y: number, w: number, h: number, draw: () => void) {
|
||||
|
||||
Reference in New Issue
Block a user