From 15908a869a66639bf4a5fe6f8748e53ff722b1bf Mon Sep 17 00:00:00 2001 From: Lajos Meszaros Date: Sat, 7 Oct 2023 14:33:26 +0200 Subject: [PATCH] fix(scripting/properties/PlayerInterface): use show/hide instead of on/off in toString() --- src/scripting/properties/PlayerInterface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/properties/PlayerInterface.ts b/src/scripting/properties/PlayerInterface.ts index 6b835b4f..e5e5d703 100644 --- a/src/scripting/properties/PlayerInterface.ts +++ b/src/scripting/properties/PlayerInterface.ts @@ -17,7 +17,7 @@ export class PlayerInterface extends ScriptProperty { } toString() { - return `playerinterface ${this.isSliding === true ? '-s' : ''} ${this.value === true ? 'on' : 'off'}` + return `playerinterface ${this.isSliding === true ? '-s' : ''} ${this.value === true ? 'show' : 'hide'}` } static get on() {