Archived
0

Fixed command hooks. Blargh.

This commit is contained in:
Pepich
2018-03-12 03:33:46 +01:00
parent 2fde435e34
commit 1bb8fa98f5
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
command data {
import [string:file] as [string:module] {
run config_import_file file module;
run import_file file module;
type console;
}
}
@@ -19,7 +19,7 @@ command config {
help Lists all config settings of the specified module.;
}
get [string:module] [string:key] {
run get module key;
run config_get module key;
help Displays the value of the specified setting.;
}
set [string:module] [string:key] [string:value...] {

View File

@@ -36,7 +36,7 @@ import com.redstoner.modules.Module;
@Commands(CommandHolderType.Stream)
@AutoRegisterListener
@Version(major = 4, minor = 1, revision = 9, compatible = 4)
@Version(major = 4, minor = 1, revision = 10, compatible = 4)
public final class DataManager implements CoreModule, Listener
{
protected final File dataFolder = new File(Main.plugin.getDataFolder(), "data");