fixes issue #306 - removed warning for plugins/scriptcraft folder
This commit is contained in:
parent
d7758897d3
commit
f60c8ef96d
1 changed files with 2 additions and 3 deletions
|
@ -11,8 +11,7 @@ module.exports = function( jsPluginsRootDir ) {
|
||||||
}
|
}
|
||||||
var legacyExists = false,
|
var legacyExists = false,
|
||||||
legacyDirs = [
|
legacyDirs = [
|
||||||
new File( mcServerDir, 'js-plugins' ),
|
new File( mcServerDir, 'js-plugins' )
|
||||||
new File( mcServerDir, 'plugins/scriptcraft' )
|
|
||||||
];
|
];
|
||||||
|
|
||||||
for ( var i = 0; i < legacyDirs.length; i++ ) {
|
for ( var i = 0; i < legacyDirs.length; i++ ) {
|
||||||
|
@ -27,7 +26,7 @@ module.exports = function( jsPluginsRootDir ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( legacyExists ) {
|
if ( legacyExists ) {
|
||||||
console.info( 'Please note that the working directory for %s is %s',
|
console.info( 'The working directory for %s is %s',
|
||||||
__plugin, jsPluginsRootDir.canonicalPath );
|
__plugin, jsPluginsRootDir.canonicalPath );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue