diff --git a/pom.xml b/pom.xml index 4c20734fc..fd96fe693 100644 --- a/pom.xml +++ b/pom.xml @@ -1,401 +1,193 @@ - - - 4.0.0 - me.blackvein.quests - quests - 2.8.1 - quests - - https://github.com/FlyingPikachu/Quests/ - - UTF-8 - - - - org.bukkit - bukkit112 - 1.12-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.12.jar - - - org.bukkit - bukkit111 - 1.11-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.11.jar - - - org.bukkit - bukkit110 - 1.10-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.10.jar - - - org.bukkit - bukkit194 - 1.9.4-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.9.4.jar - - - org.bukkit - bukkit192 - 1.9.2-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.9.2.jar - - - org.bukkit - bukkit186 - 1.8.6-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.8.6.jar - - - org.bukkit - bukkit183 - 1.8.3-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.8.3.jar - - - org.bukkit - bukkit18 - 1.8-R0.1-SNAPSHOT - system - ${project.basedir}/lib/craftbukkit-1.8.jar - - - org.bukkit - bukkit1710 - 1.7.10-R0.1 - system - ${project.basedir}/lib/craftbukkit-1.7.10-R0.1.jar - - - org.bukkit - bukkit179 - 1.7.9-R0.3 - system - ${project.basedir}/lib/craftbukkit-1.7.9-R0.3.jar - - - net.citizensnpcs - citizens - 2.0.16-SNAPSHOT - provided - - - net.aufdemrand - denizen - 0.9.7-SNAPSHOT - system - ${project.basedir}/lib/denizen-0.9.7-SNAPSHOT.jar - - - net.milkbowl.vault - Vault - 1.4.1 - system - ${project.basedir}/lib/Vault.jar - - - com.gmail.nossr50.mcMMO - mcMMO - 1.5.00 - system - ${project.basedir}/lib/mcMMO.jar - - - com.herocraftonline - Heroes - 1.5.5.4 - system - ${project.basedir}/lib/Heroes.jar - - - com.codisimus - PhatLoots - 3.8.1 - system - ${project.basedir}/lib/PhatLoots.jar - - - com.sk89q - worldedit - LATEST - provided - - - com.sk89q - worldguard - LATEST - provided - - - - - spigot-repo - https://hub.spigotmc.org/nexus/content/groups/public/ - - - citizens - http://repo.citizensnpcs.co - - - sk89q-repo - http://maven.sk89q.com/repo/ - - - - false - - central - Central Repository - http://repo.maven.apache.org/maven2 - - - - - - never - - - false - - central - Central Repository - http://repo.maven.apache.org/maven2 - - - - ${project.basedir}\src\main\java - ${project.basedir}\src\main\scripts - ${project.basedir}\src\test\java - ${project.basedir}\target\classes - ${project.basedir}\target\test-classes - - - . - true - ${project.basedir}\src\main\resources - - config.yml - plugin.yml - events.yml - quests.yml - - - - . - false - ${project.basedir} - - README.md - - - - - - ${project.basedir}\src\test\resources - - - ${project.basedir}\target - Quests-2.8.0 - - - - maven-antrun-plugin - 1.3 - - - maven-assembly-plugin - 2.2-beta-5 - - - maven-dependency-plugin - 2.8 - - - maven-release-plugin - 2.3.2 - - - - - - maven-compiler-plugin - 2.3.2 - - - default-compile - compile - - compile - - - true - 1.6 - 1.6 - - - - default-testCompile - test-compile - - testCompile - - - true - 1.6 - 1.6 - - - - - true - 1.6 - 1.6 - - - - maven-clean-plugin - 2.5 - - - default-clean - clean - - clean - - - - - - maven-resources-plugin - 2.6 - - - default-testResources - process-test-resources - - testResources - - - - default-resources - process-resources - - resources - - - - - - maven-jar-plugin - 2.4 - - - default-jar - package - - jar - - - - - - maven-surefire-plugin - 2.12.4 - - - default-test - test - - test - - - - - - maven-install-plugin - 2.4 - - - default-install - install - - install - - - - - - maven-deploy-plugin - 2.7 - - - default-deploy - deploy - - deploy - - - - - - maven-site-plugin - 3.3 - - - default-site - site - - site - - - ${project.basedir}\target\site - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - - - - - default-deploy - site-deploy - - deploy - - - ${project.basedir}\target\site - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - - - - - - ${project.basedir}\target\site - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - - - - - - - ${project.basedir}\target\site - + + 4.0.0 + + me.blackvein.quests + quests + 2.8.2 + quests + https://github.com/FlyingPikachu/Quests/ + jar + + + + UTF-8 + + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/groups/public/ + + + citizens + http://repo.citizensnpcs.co + + + sk89q-repo + http://maven.sk89q.com/repo/ + + + + + org.bukkit + bukkit112 + 1.12-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.12.jar + + + org.bukkit + bukkit111 + 1.11-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.11.jar + + + org.bukkit + bukkit110 + 1.10-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.10.jar + + + org.bukkit + bukkit194 + 1.9.4-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.9.4.jar + + + org.bukkit + bukkit192 + 1.9.2-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.9.2.jar + + + org.bukkit + bukkit186 + 1.8.6-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.8.6.jar + + + org.bukkit + bukkit183 + 1.8.3-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.8.3.jar + + + org.bukkit + bukkit18 + 1.8-R0.1-SNAPSHOT + system + ${project.basedir}/lib/craftbukkit-1.8.jar + + + org.bukkit + bukkit1710 + 1.7.10-R0.1 + system + ${project.basedir}/lib/craftbukkit-1.7.10-R0.1.jar + + + org.bukkit + bukkit179 + 1.7.9-R0.3 + system + ${project.basedir}/lib/craftbukkit-1.7.9-R0.3.jar + + + net.citizensnpcs + citizens + 2.0.22-SNAPSHOT + provided + + + net.aufdemrand + denizen + 1.0.2-SNAPSHOT + provided + + + net.milkbowl.vault + Vault + 1.4.1 + system + ${project.basedir}/lib/Vault.jar + + + com.gmail.nossr50.mcMMO + mcMMO + 1.5.00 + system + ${project.basedir}/lib/mcMMO.jar + + + com.herocraftonline + Heroes + 1.5.5.4 + system + ${project.basedir}/lib/Heroes.jar + + + com.codisimus + PhatLoots + 3.8.1 + system + ${project.basedir}/lib/PhatLoots.jar + + + com.sk89q + worldedit + LATEST + provided + + + com.sk89q + worldguard + LATEST + provided + + + + + Quests-${project.version} + + + + . + ${basedir}/src/main/resources/ + true + + config.yml + plugin.yml + events.yml + quests.yml + + + + . + ${basedir}/ + false + + README.md + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + true + 1.8 + 1.8 + + + + \ No newline at end of file diff --git a/src/main/java/me/blackvein/quests/NpcListener.java b/src/main/java/me/blackvein/quests/NpcListener.java index 5bd7cf870..569212d9e 100644 --- a/src/main/java/me/blackvein/quests/NpcListener.java +++ b/src/main/java/me/blackvein/quests/NpcListener.java @@ -33,7 +33,8 @@ public class NpcListener implements Listener { } - @EventHandler(priority = EventPriority.LOWEST) + @SuppressWarnings("deprecation") + @EventHandler(priority = EventPriority.LOWEST) public void onNPCRightClick(NPCRightClickEvent evt) { if (plugin.questFactory.selectingNPCs.contains(evt.getClicker())) { diff --git a/src/main/java/me/blackvein/quests/PlayerListener.java b/src/main/java/me/blackvein/quests/PlayerListener.java index 314dcbb1b..ec3ec8cad 100644 --- a/src/main/java/me/blackvein/quests/PlayerListener.java +++ b/src/main/java/me/blackvein/quests/PlayerListener.java @@ -375,7 +375,8 @@ public class PlayerListener implements Listener, ColorUtil { } - @EventHandler + @SuppressWarnings("deprecation") + @EventHandler public void onPlayerInteractEntity(PlayerInteractEntityEvent evt) { if (evt.getRightClicked().getType() == EntityType.ITEM_FRAME) { if(ItemUtil.isJournal(evt.getPlayer().getItemInHand())) { @@ -482,7 +483,8 @@ public class PlayerListener implements Listener, ColorUtil { } - @EventHandler(priority = EventPriority.HIGHEST) + @SuppressWarnings("deprecation") + @EventHandler(priority = EventPriority.HIGHEST) public void onBlockBreak(BlockBreakEvent evt) { if (plugin.checkQuester(evt.getPlayer().getUniqueId()) == false) { @@ -620,7 +622,6 @@ public class PlayerListener implements Listener, ColorUtil { if (damager instanceof Projectile) { Projectile projectile = (Projectile)damager; - @SuppressWarnings("deprecation") ProjectileSource source = projectile.getShooter(); if (source instanceof Player) { diff --git a/src/main/java/me/blackvein/quests/prompts/ItemStackPrompt.java b/src/main/java/me/blackvein/quests/prompts/ItemStackPrompt.java index fb4060fd5..6a1e3fd33 100644 --- a/src/main/java/me/blackvein/quests/prompts/ItemStackPrompt.java +++ b/src/main/java/me/blackvein/quests/prompts/ItemStackPrompt.java @@ -72,7 +72,8 @@ public class ItemStackPrompt extends FixedSetPrompt implements ColorUtil { if (input.equalsIgnoreCase("0")) { Player player = (Player) cc.getForWhom(); - ItemStack is = player.getItemInHand(); + @SuppressWarnings("deprecation") + ItemStack is = player.getItemInHand(); if (is == null || is.getType().equals(Material.AIR)) { player.sendMessage(RED + Lang.get("itemCreateNoItem"));