File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ app.use("/fs", require("./onlinefs/controller/function"));
261261 MCSERVER . infoLog ( "HTTP" , "HTTP 模块监听: [ http://" + ( host || "127.0.0.1" . yellow ) + ":" + port + " ]" ) ;
262262
263263 MCSERVER . infoLog ( "INFO" , "配置文件: property.js 文件" ) ;
264- MCSERVER . infoLog ( "INFO" , "文档参阅: https://github.com/suwings /mcsmanager" ) ;
264+ MCSERVER . infoLog ( "INFO" , "文档参阅: https://github.com/LiteServerProject /mcsmanager" ) ;
265265
266266 if ( MCSERVER . allError <= 0 ) {
267267 MCSERVER . infoLog ( "INFO" , "控制面板已经启动" ) ;
Original file line number Diff line number Diff line change 11( function ( ) {
22 MCSERVER . findPropertiesShow = function ( key ) {
3- var SuwingsLoveYou = {
3+ return {
44 "generator-settings" : "用于自定义超平坦世界的生成,不生成超平坦世界请留空" ,
55 "allow-nether" : "是否允许下界(包括地狱)" ,
66 "level-name" : "世界(地图)名称 不要使用中文" ,
4848 "broadcast-console-to-ops" : "向OP广播服务器控制台信息" ,
4949 "enforce-whitelist" : "在服务器上强制使用白名单" ,
5050 "spawn-protection" : "通过将该值进行 2x+1 的运算来决定出生点的保护半径,设置为0将只保护出生点下方那一个方块。"
51- } ;
52-
53- if ( SuwingsLoveYou . hasOwnProperty ( key ) ) {
54- return SuwingsLoveYou [ key ] ;
55- } else {
56- //Not find, Return space
57- return " " ;
58- }
51+ } [ key ] || " " ;
5952 } ;
6053} ) ( ) ;
You can’t perform that action at this time.
0 commit comments