Merge branch 'development'
This commit is contained in:
commit
b62644ab54
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>EpicBosses</artifactId>
|
||||
<groupId>com.songoda.epicbosses</groupId>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>EpicBosses</artifactId>
|
||||
<groupId>com.songoda.epicbosses</groupId>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>EpicBosses</artifactId>
|
||||
<groupId>com.songoda.epicbosses</groupId>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>EpicBosses</artifactId>
|
||||
<groupId>com.songoda.epicbosses</groupId>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>EpicBosses</artifactId>
|
||||
<groupId>com.songoda.epicbosses</groupId>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -20,9 +20,8 @@ public class HealthMechanic implements IBossMechanic {
|
|||
public boolean applyMechanic(BossEntity bossEntity, ActiveBossHolder activeBossHolder) {
|
||||
if (activeBossHolder.getLivingEntityMap().getOrDefault(1, null) == null) return false;
|
||||
|
||||
Object o = SpigotYmlReader.get().getObject("settings.attribute.maxHealth.max");
|
||||
|
||||
double maxHealthSetting = o instanceof Double ? (double) o : (double) (int) o;
|
||||
double maxHealthSetting = Double.valueOf( SpigotYmlReader
|
||||
.get().getObject("settings.attribute.maxHealth.max").toString());
|
||||
|
||||
for (EntityStatsElement entityStatsElement : bossEntity.getEntityStats()) {
|
||||
MainStatsElement mainStatsElement = entityStatsElement.getMainStats();
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>EpicBosses</artifactId>
|
||||
<groupId>com.songoda.epicbosses</groupId>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<groupId>com.songoda.epicbosses</groupId>
|
||||
<artifactId>EpicBosses</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
|
||||
<modules>
|
||||
<module>api-modules/FactionsM</module>
|
||||
|
@ -16,7 +16,7 @@
|
|||
</modules>
|
||||
|
||||
<properties>
|
||||
<plugin.version>1.2.5</plugin.version>
|
||||
<plugin.version>1.2.6</plugin.version>
|
||||
<plugin.name>EpicBosses</plugin.name>
|
||||
<plugin.main>com.songoda.epicbosses.EpicBosses</plugin.main>
|
||||
<plugin.author>Songoda</plugin.author>
|
||||
|
|
Loading…
Reference in New Issue