Skip to content

Commit

Permalink
Fix typings not generating
Browse files Browse the repository at this point in the history
  • Loading branch information
stirante committed Jun 24, 2024
1 parent 88a80a5 commit 6638c6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bedrock-oss/bedrock-boost",
"version": "0.0.18",
"version": "0.0.19",
"description": "A utility package with helper functions for developing add-ons with Script API in Minecraft Bedrock Edition",
"keywords": [
"minecraft",
Expand Down
6 changes: 3 additions & 3 deletions src/scheduling/PlayerPulseScheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Logger } from "../Logging";
*/
export default class PlayerPulseScheduler extends PulseScheduler<Player> {

private static readonly log = Logger.getLogger("PlayerPulseScheduler", "bedrock-boost", "player-pulse-scheduler");
private static readonly logger = Logger.getLogger("PlayerPulseScheduler", "bedrock-boost", "player-pulse-scheduler");

/**
* Creates a new EntityPulseScheduler instance.
Expand Down Expand Up @@ -35,7 +35,7 @@ export default class PlayerPulseScheduler extends PulseScheduler<Player> {
const pushPlayer = () => {
attempts++;
if (attempts > 10) {
PlayerPulseScheduler.log.warn("Failed to push player to scheduler after 10 attempts.");
PlayerPulseScheduler.logger.warn("Failed to push player to scheduler after 10 attempts.");
return;
}
try {
Expand All @@ -47,7 +47,7 @@ export default class PlayerPulseScheduler extends PulseScheduler<Player> {
this.push(player);
}
} catch (e) {
PlayerPulseScheduler.log.debug("Failed to push player to scheduler.", e);
PlayerPulseScheduler.logger.debug("Failed to push player to scheduler.", e);
system.runTimeout(pushPlayer, 1);
}
}
Expand Down

0 comments on commit 6638c6f

Please sign in to comment.