mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-21 23:11:27 +01:00
Load any tameable mob. Bump version number
This commit is contained in:
parent
9663756211
commit
66a47bbb1c
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
|
||||
<groupId>me.blackvein.quests</groupId>
|
||||
<artifactId>quests</artifactId>
|
||||
<version>3.2.4</version>
|
||||
<version>3.2.5</version>
|
||||
<name>quests</name>
|
||||
<url>https://github.com/FlyingPikachu/Quests/</url>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -2131,11 +2131,7 @@ public class Quester {
|
||||
List<String> mobs = questSec.getStringList("mobs-to-tame");
|
||||
List<Integer> amounts = questSec.getIntegerList("mob-tame-amounts");
|
||||
for (String mob : mobs) {
|
||||
if (mob.equalsIgnoreCase("Wolf")) {
|
||||
getQuestData(quest).mobsTamed.put(EntityType.WOLF, amounts.get(mobs.indexOf(mob)));
|
||||
} else {
|
||||
getQuestData(quest).mobsTamed.put(EntityType.OCELOT, amounts.get(mobs.indexOf(mob)));
|
||||
}
|
||||
getQuestData(quest).mobsTamed.put(EntityType.valueOf(mob), amounts.get(mobs.indexOf(mob)));
|
||||
}
|
||||
}
|
||||
if (questSec.contains("sheep-to-shear")) {
|
||||
|
Loading…
Reference in New Issue
Block a user