Fix TLocale
This commit is contained in:
@@ -160,8 +160,8 @@ public class TabooLibPluginCommand extends BaseMainCommand {
|
||||
} else if (PluginUtils.isIgnored(plugin)) {
|
||||
TLocale.sendTo(sender, "COMMANDS.TPLUGIN.RELOAD.INVALID-PLUGIN-IGNORED", name);
|
||||
} else {
|
||||
TabooLibAPI.dispatchCommand(sender, "taboolibplugin unload " + plugin.getName());
|
||||
TabooLibAPI.dispatchCommand(sender, "taboolibplugin load " + plugin.getName());
|
||||
TabooLibAPI.dispatchCommand(sender, "tPlugin unload " + plugin.getName());
|
||||
TabooLibAPI.dispatchCommand(sender, "tPlugin load " + plugin.getName());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -50,7 +50,7 @@ public class InternalPlugin implements Plugin {
|
||||
|
||||
@Override
|
||||
public InputStream getResource(String s) {
|
||||
return Files.getResourceTabooLib(s);
|
||||
return Files.getTabooLibResource(s);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user