Skip to content

Commit d823fdf

Browse files
committed
Be robust to ad-blockers that block self-hosted plausible
1 parent 0b6f5c2 commit d823fdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: minecraft-web.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ export default class MinecraftClient {
6363
if (this.#isRunning) {
6464
throw new Error('Already running');
6565
}
66-
plausible("Play");
66+
if(self.plausible)
67+
self.plausible("Play");
6768

6869
this.#intro.style.display = 'none';
6970

0 commit comments

Comments
 (0)