diff --git a/.classpath b/.classpath index 3623077..ac88c2c 100644 --- a/.classpath +++ b/.classpath @@ -2,7 +2,6 @@ - @@ -12,5 +11,6 @@ + diff --git a/libs/CustomItems-1.0.0.jar b/libs/CustomItems-1.0.0.jar new file mode 100644 index 0000000..9cc1240 Binary files /dev/null and b/libs/CustomItems-1.0.0.jar differ diff --git a/libs/CustomItems.jar b/libs/CustomItems.jar deleted file mode 100644 index 5eed01d..0000000 Binary files a/libs/CustomItems.jar and /dev/null differ diff --git a/src/net/theprogrammersworld/herobrine/Support.java b/src/net/theprogrammersworld/herobrine/Support.java index afcc4fa..2fb9ca1 100644 --- a/src/net/theprogrammersworld/herobrine/Support.java +++ b/src/net/theprogrammersworld/herobrine/Support.java @@ -70,31 +70,31 @@ public class Support { public void CheckForPlugins() { if (ResidenceCore.Check()) { B_Residence = true; - HerobrineAI.log.info("[Herobrine] Residence plugin detected on server."); + HerobrineAI.log.info("[Herobrine] Residence plugin detected on server"); } if (GriefPreventionCore.Check()) { B_GriefPrevention = true; - HerobrineAI.log.info("[Herobrine] GriefPrevention plugin detected on server."); + HerobrineAI.log.info("[Herobrine] GriefPrevention plugin detected on server"); } if (TownyCore.Check()) { B_Towny = true; - HerobrineAI.log.info("[Herobrine] Towny plugin detected on server."); + HerobrineAI.log.info("[Herobrine] Towny plugin detected on server"); } if (WorldGuard.Check()) { B_WorldGuard = true; - HerobrineAI.log.info("[Herobrine] WorldGuard plugin detected on server."); + HerobrineAI.log.info("[Herobrine] WorldGuard plugin detected on server"); } if (PreciousStones.Check()) { B_PreciousStones = true; - HerobrineAI.log.info("[Herobrine] PreciousStones plugin detected on server."); + HerobrineAI.log.info("[Herobrine] PreciousStones plugin detected on server"); } if (Factions.Check()) { B_Factions = true; - HerobrineAI.log.info("[Herobrine] Factions plugin detected on server."); + HerobrineAI.log.info("[Herobrine] Factions plugin detected on server"); } if (this.CustomItems.Check()) { this.B_CustomItems = true; - HerobrineAI.log.info("[HerobrineAI] CustomItems plugin detected!"); + HerobrineAI.log.info("[Herobrine] Custom Items plugin detected on server"); this.CustomItems.init(); } } diff --git a/src/net/theprogrammersworld/herobrine/hooks/CustomItemsHook.java b/src/net/theprogrammersworld/herobrine/hooks/CustomItemsHook.java index dd31b8a..9a826dc 100644 --- a/src/net/theprogrammersworld/herobrine/hooks/CustomItemsHook.java +++ b/src/net/theprogrammersworld/herobrine/hooks/CustomItemsHook.java @@ -2,8 +2,8 @@ package net.theprogrammersworld.herobrine.hooks; import org.bukkit.Bukkit; import org.bukkit.inventory.ItemStack; -import org.jakub1221.customitems.API; -import org.jakub1221.customitems.CustomItems; +import net.theprogrammersworld.customitems.API; +import net.theprogrammersworld.customitems.CustomItems; public class CustomItemsHook { @@ -12,13 +12,13 @@ public class CustomItemsHook public void init() { - this.ci = ((CustomItems)Bukkit.getServer().getPluginManager().getPlugin("CustomItems")); + this.ci = ((CustomItems)Bukkit.getServer().getPluginManager().getPlugin("Custom_Items")); this.api = CustomItems.getAPI(); } public boolean Check() { - return Bukkit.getServer().getPluginManager().getPlugin("CustomItems") != null; + return Bukkit.getServer().getPluginManager().getPlugin("Custom_Items") != null; } public boolean checkItem(String name)