Permalink
Browse files

1.6.2_1

  • Loading branch information...
hide92795 committed Aug 3, 2013
1 parent fd7450e commit 8646eb753b75e4589543d62e05469af1edf29364
Binary file not shown.
@@ -1,5 +1,6 @@
package hide92795.bukkit.plugin.corelib;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
@@ -11,8 +12,8 @@ public void onEnable() {
tool = new Tool();
}
public static CoreLib getCoreLib(JavaPlugin plugin) {
return (CoreLib) plugin.getServer().getPluginManager().getPlugin("hide92795CoreLib");
public static CoreLib getCoreLib() {
return (CoreLib) Bukkit.getServer().getPluginManager().getPlugin("hide92795CoreLib");
}
public Tool getTool() {
@@ -32,6 +32,6 @@ public void reload(String lang) throws Exception {
}
public String getString(Localizable path) {
return CoreLib.getCoreLib(plugin).getTool().replaceThings(config.getString(path.getName()));
return CoreLib.getCoreLib().getTool().replaceThings(config.getString(path.getName()));
}
}
@@ -1,5 +1,5 @@
name: hide92795CoreLib
main: hide92795.bukkit.plugin.corelib.CoreLib
version: 1.5.2_1
version: 1.6.2_1
description: Core Liblary for my plugins.
author: hide92795

0 comments on commit 8646eb7

Please sign in to comment.