mirror of
https://github.com/PikaMug/Quests.git
synced 2024-06-25 06:05:04 +02:00
Avoid exception on Quests reload, fixes #104. Bump version number
This commit is contained in:
parent
f3792b480c
commit
5152f26bcf
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
|||
|
||||
<groupId>me.blackvein.quests</groupId>
|
||||
<artifactId>quests</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<version>3.0.2</version>
|
||||
<name>quests</name>
|
||||
<url>https://github.com/FlyingPikachu/Quests/</url>
|
||||
<packaging>jar</packaging>
|
||||
|
|
|
@ -165,7 +165,7 @@ public class Quest {
|
|||
targetLocation = nextStage.locationsToReach.getFirst();
|
||||
}
|
||||
if (targetLocation != null) {
|
||||
if (targetLocation.getWorld().equals(quester.getPlayer().getWorld())) {
|
||||
if (targetLocation.getWorld().getName().equals(quester.getPlayer().getWorld().getName())) {
|
||||
quester.getPlayer().setCompassTarget(targetLocation);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user