Make console permission level 3
This commit is contained in:
parent
c36d0b2914
commit
3a99c7ce36
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ const textformat=require("../../util/textformat.js")
|
|||
const index=require("../../index.js") //Not used in the code, but may be used by users of the command
|
||||
module.exports={
|
||||
execute: (c)=>{
|
||||
if(c.type!="console"){
|
||||
if(c.verify<3){
|
||||
c.reply(textformat("Eval command is currently not available to players in Minecraft due to security issues."))
|
||||
};
|
||||
try{
|
||||
|
|
|
@ -27,7 +27,7 @@ class ConsoleCommand{
|
|||
this.type = 'console';
|
||||
this.index = index2;
|
||||
this.args = cmd.split(' ').slice(1);
|
||||
this.verify = true;
|
||||
this.verify = 3;
|
||||
this.host = "";
|
||||
this.port = "3"; // :3
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue