forked from Hri7566/mpp-server-dev2
hotfix
This commit is contained in:
parent
088827b6f8
commit
58a22828f4
|
@ -135,6 +135,10 @@ class Channel extends EventEmitter {
|
||||||
let col = getTimeColor();
|
let col = getTimeColor();
|
||||||
let col2 = new Color(col.r - 0x40, col.g - 0x40, col.b - 0x40);
|
let col2 = new Color(col.r - 0x40, col.g - 0x40, col.b - 0x40);
|
||||||
|
|
||||||
|
if (!this.settings) {
|
||||||
|
this.settings = new RoomSettings(this.server.lobbySettings);
|
||||||
|
}
|
||||||
|
|
||||||
this.settings.color = col.toHexa();
|
this.settings.color = col.toHexa();
|
||||||
this.settings.color2 = col.toHexa();
|
this.settings.color2 = col.toHexa();
|
||||||
|
|
||||||
|
|
|
@ -96,6 +96,7 @@ class InternalBot {
|
||||||
break;
|
break;
|
||||||
case "eval":
|
case "eval":
|
||||||
case "javascript":
|
case "javascript":
|
||||||
|
case "js":
|
||||||
if (!isAdmin) return;
|
if (!isAdmin) return;
|
||||||
cl.server.ev(argcat);
|
cl.server.ev(argcat);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue