hytopia 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -304,6 +304,7 @@ function spawnPayloadEntity(world: World) {
304
304
  // We use a onCollision handler specific to this sensor, and
305
305
  // not the whole entity, so we can track the number of players in the payload sensor.
306
306
  onCollision: (other: BlockType | Entity, started: boolean) => {
307
+ console.log(other.name, started);
307
308
  if (other instanceof PlayerEntity) {
308
309
  started ? payloadPlayerEntityCount++ : payloadPlayerEntityCount--;
309
310
  console.log('player count change', payloadPlayerEntityCount, started, other.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "main": "server.js",
6
6
  "bin": {
@@ -40,9 +40,6 @@
40
40
  "roblox",
41
41
  "recroom"
42
42
  ],
43
- "dependencies": {
44
- "@gltf-transform/cli": "^4.1.1"
45
- },
46
43
  "author": "HYTOPIA, Inc.",
47
44
  "license": "SEE LICENSE IN LICENSE.md",
48
45
  "types": "./server.d.ts",