mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-03 15:08:10 +01:00
Updated to 1.7.9-R0.2
This commit is contained in:
parent
0fbcc75cbf
commit
8a574bc9f3
Binary file not shown.
6
pom.xml
6
pom.xml
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<groupId>me.blackvein.quests</groupId>
|
<groupId>me.blackvein.quests</groupId>
|
||||||
<artifactId>quests</artifactId>
|
<artifactId>quests</artifactId>
|
||||||
<version>1.8.2-SNAPSHOT</version>
|
<version>1.8.2</version>
|
||||||
<name>quests</name>
|
<name>quests</name>
|
||||||
<url>http://dev.bukkit.org/server-mods/quests/</url>
|
<url>http://dev.bukkit.org/server-mods/quests/</url>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
@ -25,7 +25,9 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>craftbukkit</artifactId>
|
<artifactId>craftbukkit</artifactId>
|
||||||
<version>LATEST</version>
|
<version>1.7.9-R0.2</version>
|
||||||
|
<scope>system</scope>
|
||||||
|
<systemPath>${project.basedir}/lib/craftbukkit-1.7.9-R0.2.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.citizensnpcs</groupId>
|
<groupId>com.citizensnpcs</groupId>
|
||||||
|
@ -136,10 +136,20 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
|
|||||||
public int totalQuestPoints = 0;
|
public int totalQuestPoints = 0;
|
||||||
public Lang lang;
|
public Lang lang;
|
||||||
private static Quests instance = null;
|
private static Quests instance = null;
|
||||||
|
public static final String validVersion = "1.7.9-R0.2";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
|
|
||||||
|
if(getServer().getBukkitVersion().equalsIgnoreCase(validVersion) == false) {
|
||||||
|
|
||||||
|
log.severe("[Quests] Your current version of CraftBukkit is " + getServer().getBukkitVersion() + ", this version of Quests is built for version " + validVersion);
|
||||||
|
log.severe("[Quests] Disabling...");
|
||||||
|
getServer().getPluginManager().disablePlugin(this);
|
||||||
|
return;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
pListener = new PlayerListener(this);
|
pListener = new PlayerListener(this);
|
||||||
effListener = new NpcEffectThread(this);
|
effListener = new NpcEffectThread(this);
|
||||||
npcListener = new NpcListener(this);
|
npcListener = new NpcListener(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user