@wayward/types 2.12.1-beta.dev.20221024.1 → 2.12.1-beta.dev.20221027.1

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.
@@ -198,7 +198,7 @@ export default class ItemManager extends ObjectManager<Item, IItemManagerEvents>
198
198
  * @param z The z coordinate to check.
199
199
  */
200
200
  spawn(terrainType: TerrainType, x: number, y: number, z: number): void;
201
- getTileContainer(x: number, y: number, z: number, tile?: ITile): IContainer;
201
+ getTileContainer(x: number, y: number, z: number, tile?: ITile): IContainer | undefined;
202
202
  getRandomQuality(bonusQuality?: number, relicChance?: boolean): Quality;
203
203
  hasAdditionalRequirements(actionOrHuman: IActionHandlerApi<Human> | Human, craftType: ItemType, actionNotUsableMessage?: Message, isRepairOrDisassembly?: boolean): IRequirementInfo;
204
204
  /**
@@ -36,7 +36,7 @@ export default class TimeManager {
36
36
  /**
37
37
  * Increments `ticks`.
38
38
  */
39
- nextTick(): void;
39
+ nextTick(amount?: number): void;
40
40
  /**
41
41
  * Returns a decimal representation of the current time. `0` is the start of the day, and `1` is the end.
42
42
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.12.1-beta.dev.20221024.1",
4
+ "version": "2.12.1-beta.dev.20221027.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",