fix: particle spawner error

This commit is contained in:
MiaoWoo 2023-07-19 18:21:56 +08:00
parent 07a5d0c8de
commit 8633d9ea95
3 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.yarn*
.vscode
.theia
node_modules

View File

@ -6,6 +6,11 @@ const UUID = Java.type('java.util.UUID')
const Math = Java.type('java.lang.Math')
export namespace particle {
@injectable()
export abstract class ParticleSpawner {
abstract spawn(location: any, particle: Particle)
abstract spawnToPlayer(player: any, location: any, particle: Particle)
}
/**
*
*
@ -498,10 +503,4 @@ export namespace particle {
}
}
}
@injectable()
export abstract class ParticleSpawner {
abstract spawn(location: any, particle: Particle)
abstract spawnToPlayer(player: any, location: any, particle: Particle)
}
}

3
script/sync.sh Normal file
View File

@ -0,0 +1,3 @@
for PACKAGE in `ls packages`;do
echo "${PACKAGE} $(curl -s "https://registry-direct.npmmirror.com/@ccms/${PACKAGE}/sync?sync_upstream=true" -X 'PUT')"
done