fix a bunch more codefactor issues
This commit is contained in:
parent
21a9f64a9e
commit
59e12c0655
5 changed files with 7 additions and 4 deletions
1
.github/workflows/node.js.yml
vendored
1
.github/workflows/node.js.yml
vendored
|
@ -29,6 +29,5 @@ jobs:
|
|||
- run: npm ci
|
||||
# Don't run updateCheck for now
|
||||
#- run: npm run dev:updateCheck
|
||||
- run: npm run initSubmodules
|
||||
- run: npm run build
|
||||
#- run: npm test
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
"scripts": {
|
||||
"dev:updateCheck": "check-outdated",
|
||||
"dev:run": "nodemon --watch './**/*.ts' index.ts",
|
||||
"initSubmodules": "git submodule update --init --recursive",
|
||||
"pack": "webpack",
|
||||
"build": "tsc --build",
|
||||
"_clean": "tsc --build --clean"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { FunkyArray } from "../../funkyArray";
|
||||
import { ItemStack } from "./ItemStack";
|
||||
import { ContainerSlot } from "./Slot";
|
||||
|
||||
|
|
|
@ -4,9 +4,16 @@ import { Entity } from "./Entity";
|
|||
|
||||
export class EntityItem extends Entity {
|
||||
public age:number;
|
||||
public itemStack:ItemStack;
|
||||
|
||||
public constructor(world:World, x:number, y:number, z:number, itemStack:ItemStack) {
|
||||
super(world);
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
|
||||
this.itemStack = itemStack;
|
||||
|
||||
this.age = 0;
|
||||
this.health = 5;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { Chunk } from "../Chunk";
|
||||
import { IQueuedUpdate } from "./IQueuedUpdate";
|
||||
|
||||
export class QueuedBlockUpdate implements IQueuedUpdate {
|
||||
|
|
Loading…
Reference in a new issue